Fix E2E tests configuration

This commit is contained in:
ErickSkrauch
2020-07-07 01:46:42 +03:00
parent 82abe0a746
commit fb65a3f852
2 changed files with 8 additions and 2 deletions

View File

@@ -41,7 +41,13 @@ module.exports = (on) => {
options: {
envName: 'webpack',
cacheDirectory: true,
...config,
// We don't have the webpack's API object, so just provide necessary methods
...config({
env() {
return 'development';
},
cache() {},
}),
},
},
],