Skip to content

Commit acc53ec

Browse files
oleg-illuminaGregOnNet
authored andcommitted
Fix "arrow functions" in jasmine snippets
1 parent 42032d8 commit acc53ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

snippets/jasmine.cson

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
'description': 'Jasmine describe snippet'
4545
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#describe'
4646
'body': """
47-
describe('${1:description}' => {
47+
describe('${1:description}', () => {
4848
${2:body}
4949
});
5050
"""
@@ -54,7 +54,7 @@
5454
'description': 'Jasmine describe snippet'
5555
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#fdescribe'
5656
'body': """
57-
fdescribe('${1:description}' => {
57+
fdescribe('${1:description}', () => {
5858
${2:body}
5959
});
6060
"""
@@ -64,7 +64,7 @@
6464
'description': 'Jasmine it snippet'
6565
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#fit'
6666
'body': """
67-
fit('${1:description}' => {
67+
fit('${1:description}', () => {
6868
${2:body}
6969
}, ${3:jasmine.DEFAULT_TIMEOUT_INTERVAL});
7070
"""
@@ -74,7 +74,7 @@
7474
'description': 'Jasmine it snippet'
7575
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#it'
7676
'body': """
77-
it('${1:description}' => {
77+
it('${1:description}', () => {
7878
${2:body}
7979
}, ${3:jasmine.DEFAULT_TIMEOUT_INTERVAL});
8080
"""
@@ -84,7 +84,7 @@
8484
'description': 'Jasmine describe snippet'
8585
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#xdescribe'
8686
'body': """
87-
xdescribe('${1:suite}' => {
87+
xdescribe('${1:suite}', () => {
8888
${2:body}
8989
});
9090
"""
@@ -94,7 +94,7 @@
9494
'description': 'Jasmine it snippet'
9595
'descriptionMoreURL': 'https://jasmine.github.io/api/2.6/global.html#xit'
9696
'body': """
97-
xit('${1:description}' => {
97+
xit('${1:description}', () => {
9898
${2:body}
9999
}, ${3:jasmine.DEFAULT_TIMEOUT_INTERVAL});
100100
"""

0 commit comments

Comments
 (0)