Fix yarn text:browser not loading any test

This commit is contained in:
Jérémie Astori 2018-04-06 01:58:20 -04:00 committed by Pavel Djundik
parent c28a5c25b9
commit bbb41a2b5b

View File

@ -10,7 +10,7 @@ config.entry = {
// Instrumentation for testing with mocha // Instrumentation for testing with mocha
config.module.rules.push({ config.module.rules.push({
test: /\.js$/, test: /\.js$/,
include: path.join(__dirname, "test/client"), include: path.join(__dirname, "test/client/js/*"),
use: "mocha-loader", use: "mocha-loader",
}); });