Skip to content

Instantly share code, notes, and snippets.

@christopherkade
Created April 2, 2019 07:39
Show Gist options
  • Save christopherkade/b7e37a8f07c1811fa3c7a36c50efac30 to your computer and use it in GitHub Desktop.
Save christopherkade/b7e37a8f07c1811fa3c7a36c50efac30 to your computer and use it in GitHub Desktop.
Unit testing example 02
it("should return -2", () => {
expect(add(0, -2)).toBe(-2)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment