test: refactor crashReporter tests (#23178)

This commit is contained in:
Jeremy Apthorp 2020-04-22 15:53:12 -07:00 committed by GitHub
parent 375b793984
commit 6fa05dd123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 451 additions and 548 deletions

View file

@ -1995,7 +1995,7 @@ describe('BrowserWindow module', () => {
}
}
const preload = path.join(fixtures, 'module', 'preload-sandbox.js');
const preload = path.join(path.resolve(__dirname, 'fixtures'), 'module', 'preload-sandbox.js');
let server: http.Server = null as unknown as http.Server;
let serverUrl: string = null as unknown as string;