mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Improve performance of mock tests
This commit is contained in:
@@ -986,7 +986,7 @@ async function createWindow() {
|
||||
|
||||
await safeLoadURL(
|
||||
mainWindow,
|
||||
process.env.TEST_ELECTRON_SCRIPT != null
|
||||
getEnvironment() === Environment.Test
|
||||
? await prepareFileUrl([__dirname, '../test/index.html'])
|
||||
: await prepareFileUrl([__dirname, '../background.html'])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user