Fix the bad reload repeat issue kevin started on

This commit is contained in:
lee-at-zoo-corp
2025-04-03 19:31:09 -04:00
parent 682fa50c1a
commit 4d06a917f2

View File

@ -175,9 +175,6 @@ export class ElectronZoo {
}
}
this.page = await this.electron.firstWindow()
this.context = this.electron.context()
// THIS IS ABSOLUTELY NECESSARY TO CHANGE THE PROJECT DIRECTORY BETWEEN
// TESTS BECAUSE OF THE ELECTRON INSTANCE REUSE.
await this.electron?.evaluate(({ app }, projectDirName) => {