etcher/tests/gui/allow-renderer-process-reuse.ts
Alexis Svinartchouk 540fe90609 Fix running tests on Windows
Change-type: patch
2020-08-18 14:05:18 +02:00

6 lines
148 B
TypeScript

// tslint:disable-next-line:no-var-requires
const { app } = require('electron');
if (app !== undefined) {
app.allowRendererProcessReuse = false;
}