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
Notes: sideshowbarker 2024-07-17 23:03:43 +09:00
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")();