Skip to content

Commit

Permalink
Add test script to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Aug 2, 2017
1 parent 4bcacac commit 32c88a1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions GLOBBY_TEST.js
@@ -0,0 +1,21 @@
#!/usr/bin/node

var globby = require('globby');

async function TryGlobby() {
var matchingFiles = await globby(
[
'{chrome,components,defaults,resource,resource/web-library,test,test/resource/chai,test/resource/chai-as-promised,test/resource/mocha}/**/*.js',
'!{styles,translators,test/tests/data}/**/*.js'
],
Object.assign({cwd: '.'}),
{
"ignore": [
"**/#*.*"
]
}
);
console.log(JSON.stringify(matchingFiles, null, 2))
}

TryGlobby();

0 comments on commit 32c88a1

Please sign in to comment.