Include all tests in webpack test bundle
authorRandall Leeds <randall@apache.org>
Mon, 12 Mar 2018 04:47:33 +0000 (21:47 -0700)
committerRandall Leeds <randall@apache.org>
Mon, 12 Mar 2018 04:47:33 +0000 (21:47 -0700)
webpack.config.js

index aed39d6..638fc1e 100644 (file)
@@ -24,7 +24,7 @@ module.exports = {
     demo: './demo/index.js',
     test: [
       'chai/register-assert',
-      'mocha-loader!multi-entry-loader?include=./packages/*/test!',
+      'mocha-loader!multi-entry-loader?include=./packages/*/test/**/*.mjs!',
     ],
   },
   devtool: 'inline-source-map',