Created
July 22, 2011 08:12
-
-
Save wtnabe/1099068 to your computer and use it in GitHub Desktop.
yet another jasmine example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Example', function() { | |
it('give a block to expect', function() { | |
expect(function() { | |
return 'foo'; | |
}()).toEqual('foo'); // <- function should end with () | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment