mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(UI): update to strictly equals (#60950)
This commit is contained in:
parent
aa78ee52ae
commit
7091c5b0ed
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user