Skip to content

Commit

Permalink
Merge pull request #192 from pelias/expect-pass-by-default
Browse files Browse the repository at this point in the history
feat: Default expected test case status to pass
  • Loading branch information
orangejulius authored May 5, 2020
2 parents a6cb828 + bdad856 commit 0efc66e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/validate_test_suites.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ function validateTestSuite(testSuite) {
);
}

// default test case status to pass when unset
if (testCase.status === undefined) {
testCase.status = 'pass';
}

// ensure endpoint is set for later use
setEndpoint(testCase, testSuite);

Expand Down

0 comments on commit 0efc66e

Please sign in to comment.