From 0c72ab9590c05dfc87c24098708bcc89a196f7c2 Mon Sep 17 00:00:00 2001 From: George Lima Date: Wed, 23 Jan 2019 12:37:35 -0300 Subject: [PATCH] test(spectron): add NODE_ENV in startup --- __tests__/setup/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/__tests__/setup/utils.js b/__tests__/setup/utils.js index f08313e..1f34a86 100644 --- a/__tests__/setup/utils.js +++ b/__tests__/setup/utils.js @@ -11,4 +11,7 @@ export const getApp = () => new Application({ startTimeout: TIMEOUT, waitTimeout: TIMEOUT, quitTimeout: TIMEOUT, + env: { + NODE_ENV: 'test', + }, });