Browse Source

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

CON-2248-TESTS-create-Tests-of-sortBydir
Abdelilah 7 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()} ${provided.trim()}
// Your code // Your code
${solution.code.trim()} ${solution.code.trim()};
// The tests // The tests
${tests.trim()}`.trim() ${tests.trim()};`.trim()
try { try {
eval(fullCode) eval(fullCode)

Loading…
Cancel
Save