mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct failing test
This commit is contained in:
2
vendor/assets/javascripts/run-qunit.js
vendored
2
vendor/assets/javascripts/run-qunit.js
vendored
@@ -57,7 +57,7 @@ async function runAllTests() {
|
||||
// If it's a simple test result, write without newline
|
||||
if(message === "." || message === "F"){
|
||||
process.stdout.write(message);
|
||||
} else if (message.startsWith("AUTOSPEC:")) {
|
||||
} else if (message && message.startsWith("AUTOSPEC:")) {
|
||||
fs.appendFileSync(QUNIT_RESULT, `${message.slice(10)}\n`);
|
||||
} else {
|
||||
console.log(message);
|
||||
|
||||
Reference in New Issue
Block a user