Skip to content

Commit 0efc66e

Browse files
authored
Merge pull request #192 from pelias/expect-pass-by-default
feat: Default expected test case status to pass
2 parents a6cb828 + bdad856 commit 0efc66e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/validate_test_suites.js

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ function validateTestSuite(testSuite) {
1515
);
1616
}
1717

18+
// default test case status to pass when unset
19+
if (testCase.status === undefined) {
20+
testCase.status = 'pass';
21+
}
22+
1823
// ensure endpoint is set for later use
1924
setEndpoint(testCase, testSuite);
2025

0 commit comments

Comments
 (0)