Slide 17
Slide 17 text
Assertions
Assertion types should cover all tests ( Existence - Equality - Instance types - Contains - Regex -
Objects - Throws - Reject ).
You could also create your OWN assertion, by importing the class AssertionError, and throwing it
when the assertion fails.
Deno also offer some Hooks like before all, after all, before each and after each.
Deno Tests can be grouped inside describe(‘dog’,() => { it(‘bark’,() => myTest() ), it(‘eat’,() =>
myTest() ) }).