1
+ version 1
2
+
1
3
snippet des " Describe (js)"
2
4
describe('${1: description } ', function() {
3
- ${0}
5
+ $0
4
6
});
5
7
6
8
snippet it " it (js)"
7
9
it('${1: description } ', function() {
8
- ${0}
10
+ $0
9
11
});
10
12
11
13
snippet bef " before each (js)"
12
14
beforeEach(function() {
13
- ${0}
15
+ $0
14
16
});
15
17
16
18
snippet aft " after each (js)"
17
19
afterEach(function() {
18
- ${0}
20
+ $0
19
21
});
20
22
21
23
snippet befa " before all (js)"
22
24
beforeAll(function() {
23
- ${0}
25
+ $0
24
26
});
25
27
26
28
snippet afta " after all (js)"
27
29
afterAll(function() {
28
- ${0}
30
+ $0
29
31
});
30
32
31
33
snippet any " any (js)"
32
- jasmine.any(${1} )
34
+ jasmine.any($1 )
33
35
34
36
snippet anyt " anything (js)"
35
37
jasmine.anything()
36
38
37
- version 1
38
39
snippet objc " object containing (js)"
39
40
jasmine.objectContaining({
40
41
${VISUAL}$0
@@ -48,14 +49,14 @@ snippet strm "string matching (js)"
48
49
49
50
snippet ru " runs (js)"
50
51
runs(function() {
51
- ${0}
52
+ $0
52
53
});
53
54
54
55
snippet wa " waits (js)"
55
- waits(${1} );
56
+ waits($1 );
56
57
57
58
snippet ex " expect (js)"
58
- expect(${1: target } )${0} ;
59
+ expect(${1: target } )$0 ;
59
60
60
61
snippet ee " expect to equal (js)"
61
62
expect(${1: target } ).toEqual(${2: value } );
@@ -106,7 +107,7 @@ snippet ethe "expect to throw error (js)"
106
107
expect(${1: target } ).toThrowError(${2: value } );
107
108
108
109
snippet notx " expect not (js)"
109
- expect(${1: target } ).not${0} ;
110
+ expect(${1: target } ).not$0 ;
110
111
111
112
snippet note " expect not to equal (js)"
112
113
expect(${1: target } ).not.toEqual(${2: value } );
@@ -151,7 +152,7 @@ snippet notthe "expect not to throw error (js)"
151
152
expect(${1: target } ).not.toThrowError(${2: value } );
152
153
153
154
snippet s " spy on (js)"
154
- spyOn(${1: object } , '${2: method } ');
155
+ spyOn(${1: object } , '${2: method } ')$0 ;
155
156
156
157
snippet sr " spy on and return (js)"
157
158
spyOn(${1: object } , '${2: method } ').and.returnValue(${3: arguments } );
0 commit comments