[MM-45448] Force electron processes to close after every test on Windows (#2207)
This commit is contained in:
@@ -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 () => {
|
||||
|
@@ -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 () => {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user