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:
parent
f1dafabbb9
commit
859b810db1
2 changed files with 2 additions and 2 deletions
|
@ -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")();
|
||||
|
|
|
@ -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")();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue