Logo
Explore Help
Sign In
kenmirrors/MagicMirror
1
0
Fork 0
You've already forked MagicMirror
mirror of https://github.com/MichMich/MagicMirror.git synced 2025-07-05 15:17:49 +00:00
Code Issues Projects Releases Wiki Activity
MagicMirror/tests/configs/default.js

20 lines
339 B
JavaScript
Raw Normal View History

fixes e2e tests (#3817) - fix newsfeed and calendar e2e tests so they don't need `--forceExit` anymore - `--forceExit` should stay in test runs to avoid running until test limit in case of errors - remove mocking console, not needed anymore - configFactory-stuff should not run in browser (otherwise we get errors `[ReferenceError: exports is not defined]`)
2025-06-25 08:27:52 +02:00
if (typeof exports === "object") {
// running in nodejs (not in browser)
exports.configFactory = (options) => {
return Object.assign(
{
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
},
refactor test config
2021-07-05 00:33:50 +02:00
fixes e2e tests (#3817) - fix newsfeed and calendar e2e tests so they don't need `--forceExit` anymore - `--forceExit` should stay in test runs to avoid running until test limit in case of errors - remove mocking console, not needed anymore - configFactory-stuff should not run in browser (otherwise we get errors `[ReferenceError: exports is not defined]`)
2025-06-25 08:27:52 +02:00
modules: []
},
options
);
};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 130ms Template repo/home: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API