Update server-test.js

This commit is contained in:
uNetworkingAB
2023-05-11 12:19:16 +02:00
committed by GitHub
parent 8bd62791e1
commit 013d9cecc3
+1 -1
View File
@@ -16,7 +16,7 @@ function failed(name) {
return name != "OK" && name != "INFORMATIONAL" && name != "NON-STRICT"; return name != "OK" && name != "INFORMATIONAL" && name != "NON-STRICT";
} }
console.log(result); console.log(JSON.stringify(result, null, 2));
const failedtests = result.filter((outcome) => failed(outcome.behavior) || failed(outcome.behaviorClose)); const failedtests = result.filter((outcome) => failed(outcome.behavior) || failed(outcome.behaviorClose));