mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-28 09:01:30 -05:00
fix(UI): update to strictly equals (#60950)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user