Merge pull request #418 from alex-tan/add-expect-to-be-to-jasmine
Add expect(...).toBe(...) snippet for Jasmine
This commit is contained in:
commit
6a3c38f226
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user