summaryrefslogtreecommitdiffstats
path: root/loleaflet/test/load.js
diff options
context:
space:
mode:
Diffstat (limited to 'loleaflet/test/load.js')
-rw-r--r--loleaflet/test/load.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/test/load.js b/loleaflet/test/load.js
index 415d8355c0..baa09f5ab7 100644
--- a/loleaflet/test/load.js
+++ b/loleaflet/test/load.js
@@ -64,7 +64,7 @@ global.console = {
const jsdom = require('jsdom');
const { JSDOM } = jsdom;
-var data = fs.readFileSync(top_builddir + '/loleaflet/dist/loleaflet.html', {encoding: 'utf8'});
+var data = fs.readFileSync(top_builddir + '/loleaflet/dist/cool.html', {encoding: 'utf8'});
data = data.replace(/%SERVICE_ROOT%\/loleaflet\/%VERSION%/g, top_builddir + '/loleaflet/dist');
data = data.replace(/%SERVICE_ROOT%/g, '');
@@ -95,7 +95,7 @@ window = new JSDOM(data, {
verbose: false,
pretendToBeVisual: false,
includeNodeLocations: false,
- url: 'file:///tmp/notthere/loleaflet.html?file_path=file:///' + to_load,
+ url: 'file:///tmp/notthere/cool.html?file_path=file:///' + to_load,
resources: 'usable',
beforeParse(window) {
console.debug('Before script parsing');