diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2022-08-20 13:11:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 13:11:38 -0400 |
commit | 4194252fe363e9737abf4aa407d8ce14e7743559 (patch) | |
tree | 019470a3f9bf0e18718cb1de69e8a5ae84c5b2d6 /test/test-dom-text-scanner.js | |
parent | d3807d88ecf40b2c37ed31d823af038a091ffca0 (diff) |
New StringUtil (#2216)
* Create new StringUtil
* Use StringUtil in DOMTextScanner
* Fix order
Diffstat (limited to 'test/test-dom-text-scanner.js')
-rw-r--r-- | test/test-dom-text-scanner.js | 5 |
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}); |