Skip to content

Commit 78354d6

Browse files
committed
fix tests
1 parent c8bdff7 commit 78354d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/app.spec.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ test.beforeAll(async () => {
2121
// Open Electron app from build directory
2222
appElectron = await electron.launch({
2323
args: ['dist/main/index.js'],
24-
env: { ...process.env, E2E: 'yes' },
24+
locale: 'en-US',
25+
colorScheme: 'light',
26+
env: {
27+
...process.env,
28+
E2E: 'yes',
29+
NODE_ENV: 'production',
30+
},
2531
});
2632
appWindow = await appElectron.firstWindow();
2733

0 commit comments

Comments
 (0)