Make tests (and sourcemap) work with webpack4
This commit is contained in:
5
test/index_test.js
Normal file
5
test/index_test.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// require all modules ending in ".test.js" from the
|
||||
// current directory and all subdirectories
|
||||
const testsContext = require.context('.', true, /\.test\.js$/);
|
||||
|
||||
testsContext.keys().forEach(testsContext);
|
||||
Reference in New Issue
Block a user