Skip to content

Commit 44ed946

Browse files
committed
JS: removed assets folder for tests like for src
1 parent 018d1a2 commit 44ed946

File tree

12 files changed

+5
-5
lines changed

12 files changed

+5
-5
lines changed

web-bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"bundle": "browserify src/main/resources/com/graphhopper/maps/js/main-template.js -o src/main/resources/com/graphhopper/maps/js/main.js",
1111
"bundleDebug": "browserify src/main/resources/com/graphhopper/maps/js/main-template.js --debug -o src/main/resources/com/graphhopper/maps/js/main.js",
1212
"bundleProduction": "browserify -g uglifyify src/main/resources/com/graphhopper/maps/js/main-template.js -o src/main/resources/com/graphhopper/maps/js/main.js",
13-
"test": "JASMINE_CONFIG_PATH=src/test/resources/com/graphhopper/maps/assets/spec/jasmine.json jasmine",
13+
"test": "JASMINE_CONFIG_PATH=src/test/resources/com/graphhopper/maps/spec/jasmine.json jasmine",
1414
"lint": "jshint src/main/resources/com/graphhopper/maps/js/"
1515
},
1616
"browserify": {

web-bundle/src/test/resources/com/graphhopper/maps/assets/spec/helpers/requireFile.js

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
global.requireFile = function (name) {
2+
return require('../../../../../../../main/resources/com/graphhopper/maps/js/' + name);
3+
};

web-bundle/src/test/resources/com/graphhopper/maps/assets/spec/jasmine.json renamed to web-bundle/src/test/resources/com/graphhopper/maps/spec/jasmine.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"spec_dir": "src/test/resources/com/graphhopper/maps/assets/spec",
2+
"spec_dir": "src/test/resources/com/graphhopper/maps/spec",
33
"spec_files": [
44
"**/*[sS]pec.js"
55
],

0 commit comments

Comments
 (0)