fix(UI): update to strictly equals (#60950)

This commit is contained in:
Dan Olver 2025-06-20 17:10:34 +01:00 committed by GitHub
parent aa78ee52ae
commit 7091c5b0ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'