UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

11 lines (9 loc) 256 B
var Glob = require('../glob.js').Glob; var test = require('tap').test; test('new glob, with cb, and no options', function (t) { new Glob(__filename, function(er, results) { if (er) throw er; t.same(results, [__filename]); t.end(); }); });