1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

LibJS/Tests: Enable two more skipped tests which now pass

Only two skipped tests remaining overall :^)
This commit is contained in:
Linus Groh 2021-12-08 20:08:26 +00:00
parent f1dafabbb9
commit 859b810db1
2 changed files with 2 additions and 2 deletions

View file

@ -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")();

View file

@ -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")();