ok.js 254 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/ok.js'; var src = fs.readFileSync(file); test('ok', function (t) { var err = check(src, file); t.notOk(err); t.end(); });