yield.js 260 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 var test = require('tap').test; var fs = require('fs'); var check = require('../'); var file = __dirname + '/sources/yield.js'; var src = fs.readFileSync(file); test('yield', function (t) { var err = check(src, file); t.notOk(err); t.end(); });