From 7091c5b0edeac4dfcd081cf495c5ffc4fc7c57ac Mon Sep 17 00:00:00 2001 From: Dan Olver Date: Fri, 20 Jun 2025 17:10:34 +0100 Subject: [PATCH] fix(UI): update to strictly equals (#60950) --- client/src/templates/Challenges/redux/execute-challenge-saga.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'