Merge pull request #418 from alex-tan/add-expect-to-be-to-jasmine

Add expect(...).toBe(...) snippet for Jasmine
This commit is contained in:
Honza Pokorny 2014-08-07 03:00:43 -03:00
commit 6a3c38f226

View File

@ -50,6 +50,10 @@ snippet ee "expect to equal (js)" b
expect(${1:target}).toEqual(${2:value});
endsnippet
snippet eb "expect to be (js)" b
expect(${1:target}).toBe(${2:value});
endsnippet
snippet em "expect to match (js)" b
expect(${1:target}).toMatch(${2:pattern});
endsnippet