[MM-45448] Force electron processes to close after every test on Windows (#2207)

This commit is contained in:
Devin Binnie
2022-07-25 09:41:19 -04:00
committed by GitHub
parent 40c072981a
commit 821112c038
28 changed files with 118 additions and 339 deletions

View File

@@ -21,6 +21,7 @@ describe('startup/app', function desc() {
if (this.app) {
await this.app.close();
}
await env.clearElectronInstances();
});
it('MM-T4399_1 should show the new server modal when no servers exist', async () => {

View File

@@ -22,6 +22,7 @@ describe('config', function desc() {
// eslint-disable-next-line no-empty
} catch (err) {}
}
await env.clearElectronInstances();
});
describe('MM-T4401 should show servers in dropdown when there is config file', async () => {

View File

@@ -22,6 +22,7 @@ describe('window', function desc() {
// eslint-disable-next-line no-empty
} catch (err) {}
}
await env.clearElectronInstances();
});
// TODO: this fails on Linux right now due to the window frame for some reason