mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-18 20:59:45 +00:00
e2e: decrease stop app waitTime (#3847)
This commit is contained in:
parent
54752f10e8
commit
e7b669af34
@ -21,6 +21,7 @@ Thanks to: @dathbe.
|
|||||||
- [tests] refactor: simplify jest config file (#3844)
|
- [tests] refactor: simplify jest config file (#3844)
|
||||||
- [tests] refactor: extract constants for weather electron tests (#3845)
|
- [tests] refactor: extract constants for weather electron tests (#3845)
|
||||||
- [tests] replace `console` with `Log` in calendar `debug.js` to avoid exception in eslint config (#3846)
|
- [tests] replace `console` with `Log` in calendar `debug.js` to avoid exception in eslint config (#3846)
|
||||||
|
- [tests] speed up e2e tests (#3847)
|
||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ exports.startApplication = async (configFilename, exec) => {
|
|||||||
return global.app.start();
|
return global.app.start();
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.stopApplication = async (waitTime = 1000) => {
|
exports.stopApplication = async (waitTime = 10) => {
|
||||||
if (global.window) {
|
if (global.window) {
|
||||||
// no closing causes jest errors and memory leaks
|
// no closing causes jest errors and memory leaks
|
||||||
global.window.close();
|
global.window.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user