diff --git a/client/src/templates/Challenges/redux/execute-challenge-saga.js b/client/src/templates/Challenges/redux/execute-challenge-saga.js index a0b26198caa..9fa348116f5 100644 --- a/client/src/templates/Challenges/redux/execute-challenge-saga.js +++ b/client/src/templates/Challenges/redux/execute-challenge-saga.js @@ -210,7 +210,7 @@ function* executeTests(testRunner, tests, testTimeout = 5000) { if (err === 'timeout') { newTest.err = 'Test timed out'; newTest.message = `${newTest.message} (${newTest.err})`; - } else if (type == 'IndentationError' || type == 'SyntaxError') { + } else if (type === 'IndentationError' || type === 'SyntaxError') { const msgKey = type === 'IndentationError' ? 'learn.indentation-error'