aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-27 09:40:03 +1000
committerYuchen Pei <hi@ypei.me>2022-09-27 09:40:03 +1000
commit0d1566b2614aeedd33d18a19e93954aca1df4ea8 (patch)
tree1a387192645d68b5dcff852e568b5600c6076488 /test
parentdb0013b57cce91cd516e0d9ecfa6f758f3d14d03 (diff)
minor renaming
Diffstat (limited to 'test')
-rw-r--r--test/spec/LibreJSSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec/LibreJSSpec.js b/test/spec/LibreJSSpec.js
index 77563d2..7828bcb 100644
--- a/test/spec/LibreJSSpec.js
+++ b/test/spec/LibreJSSpec.js
@@ -95,7 +95,7 @@ describe('LibreJS\' components', () => {
let url = 'https://www.gnu.org/mock-script.js';
let processScript = async (source, whitelisted = false) =>
- await LibreJS.handle_script({
+ await LibreJS.handleScript({
text: source,
request: { url, tabId: tab.id, documentUrl, frameId: 0 },
}, whitelisted);