From bc1637bde4b5b82a2af24ea4acefd855cc14cd41 Mon Sep 17 00:00:00 2001 From: sasidhar-d Date: Sat, 10 Oct 2015 16:19:56 +0530 Subject: [PATCH] jasmine,added new matcher anything, and partial matchers objectContaining,stringMatching and arrayContaining --- UltiSnips/javascript-jasmine.snippets | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/UltiSnips/javascript-jasmine.snippets b/UltiSnips/javascript-jasmine.snippets index 185c665..77aec77 100644 --- a/UltiSnips/javascript-jasmine.snippets +++ b/UltiSnips/javascript-jasmine.snippets @@ -44,6 +44,24 @@ snippet any "any (js)" b jasmine.any($1) 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 runs(function() { $0