spread.js 262 B

12345678910111213
  1. var test = require('tap').test;
  2. var fs = require('fs');
  3. var check = require('../');
  4. var file = __dirname + '/sources/spread.js';
  5. var src = fs.readFileSync(file);
  6. test('spread', function (t) {
  7. var err = check(src, file);
  8. t.notOk(err);
  9. t.end();
  10. });