mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +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
Notes:
sideshowbarker
2024-07-17 23:03:43 +09:00
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…
Reference in a new issue