add e2e test enviroment

This commit is contained in:
Rodrigo Ramírez Norambuena
2017-01-30 12:29:32 -03:00
parent d474d518ca
commit c75ee042a8
3 changed files with 75 additions and 0 deletions

25
tests/confs/env.js Normal file
View File

@@ -0,0 +1,25 @@
/* Magic Mirror Test config sample enviroment
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
var config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
},
modules: [
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}