Skip to content

Instantly share code, notes, and snippets.

@vzaidman
Last active February 1, 2019 13:49
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 vzaidman/6257d49d09340d27f6dac9fb4c11a8d9 to your computer and use it in GitHub Desktop.
Save vzaidman/6257d49d09340d27f6dac9fb4c11a8d9 to your computer and use it in GitHub Desktop.
describe('calculator', function() {
// describes a module with nested "describe" functions
describe('add', function() {
// specify the expected behavior
it('should add 2 numbers', function() {
//Use assertion functions to test the expected behavior
...
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment