Explorar o código

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

Only two skipped tests remaining overall :^)
Linus Groh %!s(int64=3) %!d(string=hai) anos
pai
achega
859b810db1

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

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