Skip to content

Instantly share code, notes, and snippets.

@johannesboyne
Last active December 10, 2015 22:48
Show Gist options
  • Save johannesboyne/4504580 to your computer and use it in GitHub Desktop.
Save johannesboyne/4504580 to your computer and use it in GitHub Desktop.
sample test file
describe('Array', function(){
describe('#indexOf()', function(){
it('should return -1 when the value is not present', function(){
assert.equal(-1, [1,2,3].indexOf(5));
assert.equal(-1, [1,2,3].indexOf(0));
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment