summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/test-common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/test-common.js b/Userland/Libraries/LibJS/Tests/test-common.js
index ec54dfddf2..9cec16a2e6 100644
--- a/Userland/Libraries/LibJS/Tests/test-common.js
+++ b/Userland/Libraries/LibJS/Tests/test-common.js
@@ -20,8 +20,8 @@ console.log = (...args) => {
};
class ExpectationError extends Error {
- constructor(message, fileName, lineNumber) {
- super(message, fileName, lineNumber);
+ constructor(message) {
+ super(message);
this.name = "ExpectationError";
}
}