summaryrefslogtreecommitdiff
path: root/test/test-sw.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-sw.js')
-rw-r--r--test/test-sw.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-sw.js b/test/test-sw.js
index 803bb0c2..498a0a32 100644
--- a/test/test-sw.js
+++ b/test/test-sw.js
@@ -38,9 +38,9 @@ function getAllHtmlScriptPaths(fileName) {
function convertBackgroundScriptsToServiceWorkerScripts(scripts) {
// Use parse5-based SimpleDOMParser
scripts.splice(0, 0, '/lib/parse5.js');
- const index = scripts.indexOf('/bg/js/native-simple-dom-parser.js');
+ const index = scripts.indexOf('/js/dom/native-simple-dom-parser.js');
assert.ok(index >= 0);
- scripts[index] = '/bg/js/simple-dom-parser.js';
+ scripts[index] = '/js/dom/simple-dom-parser.js';
}
function main() {