Skip to content

Instantly share code, notes, and snippets.

@patoi
Last active April 2, 2018 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patoi/8d7bf39e842ffb7e60bf62f6b2580e9b to your computer and use it in GitHub Desktop.
Save patoi/8d7bf39e842ffb7e60bf62f6b2580e9b to your computer and use it in GitHub Desktop.
it('is OK - not bad', async () => {
let result = await testFunction(true)
expect(result).to.be.equal('OK')
// flawed test throws an error, but it is not a test error (AssertionError)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment