Skip to content

Commit

Permalink
chore: check no unhandled errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jun 20, 2023
1 parent 00e78ac commit 665b44b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/browser/specs/runner.test.mjs
Expand Up @@ -24,6 +24,8 @@ await test('tests are actually running', async () => {
assert.ok(browserResultJson.testResults.length === 8, 'Not all the tests have been run')
assert.ok(passedTests.length === 7, 'Some tests failed')
assert.ok(failedTests.length === 1, 'Some tests have passed but should fail')

assert.doesNotMatch(stderr, /Unhandled Error/, 'doesn\'t have any unhandled errors')
})

await test('correctly prints error', () => {
Expand Down

0 comments on commit 665b44b

Please sign in to comment.