Merge pull request #474 from craigp/additional_jasmine_snippets
Additional jasmine snippets for the following completions:
This commit is contained in:
commit
51be0d408f
@ -169,3 +169,16 @@ endsnippet
|
|||||||
snippet noscw "expect was not called with (js)" b
|
snippet noscw "expect was not called with (js)" b
|
||||||
expect(${1:target}).wasNotCalledWith(${2:arguments});
|
expect(${1:target}).wasNotCalledWith(${2:arguments});
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet ethbc "expect to have been called (js)" b
|
||||||
|
expect(${1:target}).toHaveBeenCalled();
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet nthbc "expect not to have been called (js)" b
|
||||||
|
expect(${1:target}).not.toHaveBeenCalled();
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet ethbcw "expect to have been called with (js)" b
|
||||||
|
expect(${1:target}).toHaveBeenCalledWith(${2:arguments});
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user