jasmine,added new matcher anything, and partial matchers objectContaining,stringMatching and arrayContaining

This commit is contained in:
sasidhar-d 2015-10-10 16:19:56 +05:30
parent ccbdbff0d5
commit bc1637bde4

View File

@ -44,6 +44,24 @@ snippet any "any (js)" b
jasmine.any($1) jasmine.any($1)
endsnippet endsnippet
snippet anyt "anything (js)" b
jasmine.anything()
endsnippet
snippet objc "object containing (js)" b
jasmine.objectContaining({
${VISUAL}$0
});
endsnippet
snippet arrc "array containing (js)" b
jasmine.arrayContaining([${1:value1}]);
endsnippet
snippet strm "string matching (js)" b
jasmine.stringMatching("${1:matcher}")
endsnippet
snippet ru "runs (js)" b snippet ru "runs (js)" b
runs(function() { runs(function() {
$0 $0