Merge pull request #650 from qistoph/testing

Fix grunt errors in root_path.js and syntax in da.json
This commit is contained in:
Michael Teeuw 2017-01-25 12:25:04 +01:00 committed by GitHub
commit 5d63065057
2 changed files with 10 additions and 9 deletions

View File

@ -2,17 +2,18 @@ var fs = require("fs");
var path = require("path"); var path = require("path");
var chai = require("chai"); var chai = require("chai");
var expect = chai.expect; var expect = chai.expect;
var appMM = require("../../js/app.js")
describe("Test global.root_path, set in js/app.js", function() { describe("Test global.root_path, set in js/app.js", function() {
var appMM = require("../../js/app.js")
var expectedSubPaths = [ var expectedSubPaths = [
'modules', "modules",
'serveronly', "serveronly",
'js', "js",
'js/app.js', "js/app.js",
'js/main.js', "js/main.js",
'js/electron.js', "js/electron.js",
'config' "config"
]; ];
expectedSubPaths.forEach(subpath => { expectedSubPaths.forEach(subpath => {

View File

@ -25,7 +25,7 @@
"W": "V", "W": "V",
"WNW": "VNV", "WNW": "VNV",
"NW": "NV", "NW": "NV",
"NNW": "NNV" "NNW": "NNV",
/* UPDATE INFO */ /* UPDATE INFO */