diff --git a/tests/configs/check_config.js b/tests/configs/check_config.js index baee1caf..5f241409 100644 --- a/tests/configs/check_config.js +++ b/tests/configs/check_config.js @@ -16,7 +16,7 @@ var Utils = require(__dirname + "/../../js/utils.js"); /* getConfigFile() * Return string with path of configuration file - * Check if set by enviroment variable MM_CONFIG_FILE + * Check if set by environment variable MM_CONFIG_FILE */ function getConfigFile() { // FIXME: This function should be in core. Do you want refactor me ;) ?, be good! @@ -35,7 +35,7 @@ function checkConfigFile() { console.error(Utils.colors.error("File not found: "), configFileName); return; } - // check permision + // check permission try { fs.accessSync(configFileName, fs.F_OK); } catch (e) { @@ -67,4 +67,4 @@ function checkConfigFile() { if (process.env.NODE_ENV !== "test") { checkConfigFile(); -}; \ No newline at end of file +} diff --git a/tests/configs/env.js b/tests/configs/env.js index 252934d7..ef244c39 100644 --- a/tests/configs/env.js +++ b/tests/configs/env.js @@ -1,4 +1,4 @@ -/* Magic Mirror Test config sample enviroment +/* Magic Mirror Test config sample environment * * By Rodrigo Ramírez Norambuena https://rodrigoramirez.com * MIT Licensed. diff --git a/tests/configs/port_8090.js b/tests/configs/port_8090.js index 6646dff7..d1dc546f 100644 --- a/tests/configs/port_8090.js +++ b/tests/configs/port_8090.js @@ -1,4 +1,4 @@ -/* Magic Mirror Test config sample enviroment set por 8090 +/* Magic Mirror Test config sample environment set port 8090 * * By Rodrigo Ramírez Norambuena https://rodrigoramirez.com * MIT Licensed. diff --git a/tests/e2e/port_config.js b/tests/e2e/port_config.js index 00964d53..c68aaca3 100644 --- a/tests/e2e/port_config.js +++ b/tests/e2e/port_config.js @@ -38,7 +38,7 @@ describe("port directive configuration", function () { }); }); - describe("Set port 8100 on enviroment variable MM_PORT", function () { + describe("Set port 8100 on environment variable MM_PORT", function () { before(function () { process.env.MM_PORT = 8100; // Set config sample for use in this test @@ -56,5 +56,4 @@ describe("port directive configuration", function () { }); }); }); - }); diff --git a/tests/e2e/translations_spec.js b/tests/e2e/translations_spec.js index 727f4623..06866e8c 100644 --- a/tests/e2e/translations_spec.js +++ b/tests/e2e/translations_spec.js @@ -122,7 +122,6 @@ describe("Translations", function() { } } }) - }); } });