Make it possible to only run one test file each time
This commit is contained in:
parent
a2168efcda
commit
7a821ce9d1
3 changed files with 28 additions and 18 deletions
7
test/all-tests.js
Normal file
7
test/all-tests.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
// all-tests.js
|
||||
//
|
||||
// Our master test file: uses the webpack require API to find our test files
|
||||
// and run them
|
||||
|
||||
var context = require.context('.', true, /-test\.jsx?$/);
|
||||
context.keys().forEach(context);
|
Loading…
Add table
Add a link
Reference in a new issue