Add expect(...).toBe(...) snippet for Jasmine

This commit is contained in:
Alex Tan 2014-08-06 17:03:23 -04:00
parent a5db05e17b
commit c194e8b6d2

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