Browse Source

fix(tests): Fix if (0) bug in piscine condition exercises

CON-2248-TESTS-create-Tests-of-sortBydir
Abdelilah 6 months ago committed by Clément
parent
commit
5f0efbfac6
  1. 4
      js/tests/test.mjs

4
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)

Loading…
Cancel
Save