test(spectron): add NODE_ENV in startup

This commit is contained in:
George Lima 2019-01-23 12:37:35 -03:00
parent e15f1c58cc
commit 0c72ab9590
1 changed files with 3 additions and 0 deletions

View File

@ -11,4 +11,7 @@ export const getApp = () => new Application({
startTimeout: TIMEOUT,
waitTimeout: TIMEOUT,
quitTimeout: TIMEOUT,
env: {
NODE_ENV: 'test',
},
});