Make it possible to only run one test file each time

This commit is contained in:
Richard van der Hoff 2016-04-07 17:49:39 +01:00
parent a2168efcda
commit 7a821ce9d1
3 changed files with 28 additions and 18 deletions

7
test/all-tests.js Normal file
View 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);