test: move some fixtures from spec/ to spec-main/ (#21403)
This commit is contained in:
parent
8a92b65fd3
commit
768a6ace1b
44 changed files with 27 additions and 32 deletions
|
@ -224,7 +224,7 @@ describe('BrowserView module', () => {
|
|||
|
||||
describe('new BrowserView()', () => {
|
||||
it('does not crash on exit', async () => {
|
||||
const appPath = path.join(fixtures, 'api', 'leak-exit-browserview.js')
|
||||
const appPath = path.join(__dirname, 'fixtures', 'api', 'leak-exit-browserview.js')
|
||||
const electronPath = process.execPath
|
||||
const appProcess = ChildProcess.spawn(electronPath, [appPath])
|
||||
const [code] = await emittedOnce(appProcess, 'close')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue