remove env.js

This commit is contained in:
Karsten Hassel 2021-07-05 18:27:14 +02:00
parent 7cfc3458ec
commit 2881d19d43
4 changed files with 3 additions and 15 deletions

View File

@ -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;
}

View File

@ -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 () {

View File

@ -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 () {

View File

@ -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"]