Files
DefinitelyTyped/glob/glob-tests.ts
Ryan Cavanaugh 625e8310e7 Update 'glob'
2016-04-27 10:26:07 -07:00

23 lines
480 B
TypeScript

import glob = require("./");
var Glob = glob.Glob;
(()=> {
var pattern = "test/a/**/[cg]/../[cg]";
console.log(pattern);
var mg = new Glob(pattern, {mark: true, sync: true}, function (er, matches) {
console.log("matches", matches)
});
console.log("after")
})();
(()=> {
var pattern = "{./*/*,/*,/usr/local/*}";
console.log(pattern);
var mg = new Glob(pattern, {mark: true}, function (er, matches) {
console.log("matches", matches)
});
console.log("after")
})();