From be9df404fd180e1b3cab0c1bddce1f589de8e9f0 Mon Sep 17 00:00:00 2001 From: speles Date: Fri, 26 Feb 2021 00:38:34 +0200 Subject: [PATCH] LibJS: Re-enable "reassignment to const" test It passes now :^) --- Userland/Libraries/LibJS/Tests/const-reassignment.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Tests/const-reassignment.js b/Userland/Libraries/LibJS/Tests/const-reassignment.js index 1c66fc24ce..f336407435 100644 --- a/Userland/Libraries/LibJS/Tests/const-reassignment.js +++ b/Userland/Libraries/LibJS/Tests/const-reassignment.js @@ -1,5 +1,4 @@ -// I'm not sure how this test passed before the refactor, but it definitely doesn't work at all -test.skip("reassignment to const", () => { +test("reassignment to const", () => { const constantValue = 1; expect(() => { constantValue = 2;