Skip to content

Commit 8b97749

Browse files
committed
test: setup global variables
1 parent 42ea7d4 commit 8b97749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/setup_global.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const pkg = require('../package.json');
22

3-
global.process.env.NODE_ENV = 'production';
4-
global.process.env.BUILD = 'production';
3+
global.process.env.NODE_ENV = 'test';
4+
global.process.env.BUILD = 'test';
55
global.__buildDate__ = () => JSON.stringify(new Date());
66
global.__buildVersion__ = JSON.stringify(pkg.version);

0 commit comments

Comments
 (0)