LibJS: Re-enable "reassignment to const" test

It passes now :^)
This commit is contained in:
speles 2021-02-26 00:38:34 +02:00 committed by Andreas Kling
parent f7d64e9fa8
commit be9df404fd
Notes: sideshowbarker 2024-07-18 21:54:27 +09:00

View file

@ -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;