From 5f0efbfac66c26be7d76334a7735d1752cf2c96a Mon Sep 17 00:00:00 2001 From: Abdelilah Date: Wed, 18 Oct 2023 21:01:10 +0100 Subject: [PATCH] fix(tests): Fix if (0) bug in piscine condition exercises --- js/tests/test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tests/test.mjs b/js/tests/test.mjs index 2c37969ad..c41770fab 100644 --- a/js/tests/test.mjs +++ b/js/tests/test.mjs @@ -130,10 +130,10 @@ ${provided ? '// Provided setup' : ''} ${provided.trim()} // Your code -${solution.code.trim()} +${solution.code.trim()}; // The tests -${tests.trim()}`.trim() +${tests.trim()};`.trim() try { eval(fullCode)