Created
April 15, 2011 11:30
-
-
Save diogob/921561 to your computer and use it in GitHub Desktop.
This file contains 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
snippet it | |
it("should ${1:do...}", function(){ | |
}); | |
snippet before | |
beforeEach(function(){ | |
}); | |
snippet describe | |
describe("${1:test subject}", function(){ | |
}); | |
snippet spy | |
spyOn( ${1:spyObject}, "${2:method}"); | |
snippet equal | |
expect( ${1:object} ).toEqual( ${2:expectation} ); | |
snippet called | |
expect( ${1:spy} ).toHaveBeenCalled(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment