aboutsummaryrefslogtreecommitdiff
path: root/test/spec/LibreJSSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/LibreJSSpec.js')
-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);