coerce.test.js 498 B

123456789101112131415161718
  1. /**
  2. * Module dependencies
  3. */
  4. var TEST_SUITE = require('../spec/coercion.spec');
  5. var runSuite = require('../spec/helpers/run-suite');
  6. var toRunTestWith = require('./helpers/to-run-test-with');
  7. var expandSuite = require('../spec/helpers/expand-suite');
  8. var rttc = require('../');
  9. describe('.coerce()', function (){
  10. // Take the array of tests and extend them with some derivative
  11. // tests automatically. Then run them.
  12. runSuite(expandSuite(TEST_SUITE), toRunTestWith(rttc.coerce) );
  13. });