Skip to content

Instantly share code, notes, and snippets.

@rafinskipg
Created February 11, 2020 19:58
Show Gist options
  • Save rafinskipg/1991b947148bde2e659d6b660161eb1c to your computer and use it in GitHub Desktop.
Save rafinskipg/1991b947148bde2e659d6b660161eb1c to your computer and use it in GitHub Desktop.
describe('add method', () => {
it('should return 4 when receiving 2 and 2', () => {
expect(calculator.add(2, 2)).toEqual(4)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment