From c194e8b6d2c37edbeb4a3c7e6fa9a9045a97541a Mon Sep 17 00:00:00 2001 From: Alex Tan Date: Wed, 6 Aug 2014 17:03:23 -0400 Subject: [PATCH] Add expect(...).toBe(...) snippet for Jasmine --- UltiSnips/javascript_jasmine.snippets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UltiSnips/javascript_jasmine.snippets b/UltiSnips/javascript_jasmine.snippets index 3a87298..e392459 100644 --- a/UltiSnips/javascript_jasmine.snippets +++ b/UltiSnips/javascript_jasmine.snippets @@ -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