tests fix

This commit is contained in:
Alexey Kasyanchuk
2018-04-06 17:40:51 +03:00
parent 0cdfd136c5
commit 1fd0e5fa49
3 changed files with 2827 additions and 3 deletions

View File

@ -4,7 +4,7 @@ const FriendlyErrorsWebpackPlugin = require("friendly-errors-webpack-plugin");
module.exports = env => {
return {
mode: env || 'development',
mode: env == 'test' ? 'production' : (env || 'development'),
target: "node",
node: {
__dirname: false,