UNPKG
brush_cli
Version:
latest (0.0.2)
0.0.2
0.0.1
A tool for creating and developing cmos PC Framework project.
brush_cli
/
node_modules
/
glob
/
test
/
new-glob-optional-options.js
11 lines
(9 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
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
(); }); });