mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
remove env.js
This commit is contained in:
parent
7cfc3458ec
commit
2881d19d43
@ -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;
|
|
||||||
}
|
|
@ -7,7 +7,7 @@ describe("Development console tests", function () {
|
|||||||
|
|
||||||
beforeAll(function () {
|
beforeAll(function () {
|
||||||
// Set config sample for use in test
|
// 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 () {
|
describe("Without 'dev' commandline argument", function () {
|
||||||
|
@ -8,7 +8,7 @@ describe("Electron app environment", function () {
|
|||||||
|
|
||||||
beforeAll(function () {
|
beforeAll(function () {
|
||||||
// Set config sample for use in test
|
// 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 () {
|
beforeEach(function () {
|
||||||
|
@ -10,7 +10,7 @@ describe("Vendors", function () {
|
|||||||
let app = null;
|
let app = null;
|
||||||
|
|
||||||
beforeAll(function () {
|
beforeAll(function () {
|
||||||
process.env.MM_CONFIG_FILE = "tests/configs/env.js";
|
process.env.MM_CONFIG_FILE = "tests/configs/default.js";
|
||||||
return helpers
|
return helpers
|
||||||
.startApplication({
|
.startApplication({
|
||||||
args: ["js/electron.js"]
|
args: ["js/electron.js"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user