diff options
author | Linus Groh <mail@linusgroh.de> | 2021-12-08 20:08:26 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-12-08 20:08:26 +0000 |
commit | 859b810db1856e45bd515c5560fe2aad00e7e917 (patch) | |
tree | 212d6d553c1362806c70a84f1af240b02cd52673 /Userland | |
parent | f1dafabbb924c7b17c2e623a25a3c236f3b479c4 (diff) | |
download | serenity-859b810db1856e45bd515c5560fe2aad00e7e917.zip |
LibJS/Tests: Enable two more skipped tests which now pass
Only two skipped tests remaining overall :^)
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibJS/Tests/this-value-strict.js | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibJS/Tests/this-value.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/this-value-strict.js b/Userland/Libraries/LibJS/Tests/this-value-strict.js index 8d9bf587aa..e59ef1eec3 100644 --- a/Userland/Libraries/LibJS/Tests/this-value-strict.js +++ b/Userland/Libraries/LibJS/Tests/this-value-strict.js @@ -358,7 +358,7 @@ describe("derived classes which access this before super should fail", () => { }).toThrowWithMessage(ReferenceError, "|this| has not been initialized"); }); - test.skip("access of this via a eval in arrow function", () => { + test("access of this via a eval in arrow function", () => { class IncorrectConstructor extends Base { constructor() { const arrow = () => eval("() => this")(); diff --git a/Userland/Libraries/LibJS/Tests/this-value.js b/Userland/Libraries/LibJS/Tests/this-value.js index 73571e9e84..619dce427f 100644 --- a/Userland/Libraries/LibJS/Tests/this-value.js +++ b/Userland/Libraries/LibJS/Tests/this-value.js @@ -356,7 +356,7 @@ describe("derived classes which access this before super should fail", () => { }).toThrowWithMessage(ReferenceError, "|this| has not been initialized"); }); - test.skip("access of this via a eval in arrow function", () => { + test("access of this via a eval in arrow function", () => { class IncorrectConstructor extends Base { constructor() { const arrow = () => eval("() => this")(); |