diff --git a/tests/configs/env.js b/tests/configs/env.js deleted file mode 100644 index e5689d4c..00000000 --- a/tests/configs/env.js +++ /dev/null @@ -1,12 +0,0 @@ -/* Magic Mirror Test config sample environment - * - * By Rodrigo Ramírez Norambuena https://rodrigoramirez.com - * MIT Licensed. - */ - -let config = require("./default.js"); - -/*************** DO NOT EDIT THE LINE BELOW ***************/ -if (typeof module !== "undefined") { - module.exports = config; -} diff --git a/tests/e2e/dev_console.js b/tests/e2e/dev_console.js index 2a607e5b..06470645 100644 --- a/tests/e2e/dev_console.js +++ b/tests/e2e/dev_console.js @@ -7,7 +7,7 @@ describe("Development console tests", function () { beforeAll(function () { // Set config sample for use in test - process.env.MM_CONFIG_FILE = "tests/configs/env.js"; + process.env.MM_CONFIG_FILE = "tests/configs/default.js"; }); describe("Without 'dev' commandline argument", function () { diff --git a/tests/e2e/env_spec.js b/tests/e2e/env_spec.js index 706274a2..77605b4a 100644 --- a/tests/e2e/env_spec.js +++ b/tests/e2e/env_spec.js @@ -8,7 +8,7 @@ describe("Electron app environment", function () { beforeAll(function () { // Set config sample for use in test - process.env.MM_CONFIG_FILE = "tests/configs/env.js"; + process.env.MM_CONFIG_FILE = "tests/configs/default.js"; }); beforeEach(function () { diff --git a/tests/e2e/vendor_spec.js b/tests/e2e/vendor_spec.js index b5289c2f..3c97515d 100644 --- a/tests/e2e/vendor_spec.js +++ b/tests/e2e/vendor_spec.js @@ -10,7 +10,7 @@ describe("Vendors", function () { let app = null; beforeAll(function () { - process.env.MM_CONFIG_FILE = "tests/configs/env.js"; + process.env.MM_CONFIG_FILE = "tests/configs/default.js"; return helpers .startApplication({ args: ["js/electron.js"]