summaryrefslogtreecommitdiff
path: root/test/test-dom-text-scanner.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-dom-text-scanner.js')
-rw-r--r--test/test-dom-text-scanner.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-dom-text-scanner.js b/test/test-dom-text-scanner.js
index e4ea98cc..f3bd4599 100644
--- a/test/test-dom-text-scanner.js
+++ b/test/test-dom-text-scanner.js
@@ -166,7 +166,10 @@ async function testDocument1() {
window.getComputedStyle = createAbsoluteGetComputedStyle(window);
const vm = new VM({document, window, Range, Node});
- vm.execute('js/dom/dom-text-scanner.js');
+ vm.execute([
+ 'js/data/sandbox/string-util.js',
+ 'js/dom/dom-text-scanner.js'
+ ]);
const DOMTextScanner = vm.get('DOMTextScanner');
await testDomTextScanner(dom, {DOMTextScanner});