Update jasmine snippets

main
Buddy Sandidge 10 years ago
parent 91a0dcb282
commit 014409e303

@ -17,3 +17,6 @@ define [
${2:Object}
) ->
endsnippet
snippet it "jasmine test case"
it '→ $1', ->
endsnippet

@ -24,18 +24,18 @@ setTimeout(function () {
}, 0);
endsnippet
snippet it "jasmine it" !
it('→ $0', function () {
snippet it "it test case" !
it('→ $1', function () {
});
endsnippet
snippet desc "jasmine describe" !
describe('→ $0', function () {
snippet desc "describe test case" !
describe('→ $1', function () {
});
endsnippet
snippet expect "jasmine expect" !
expect(${0}).toBe(${1});
snippet exp "expect" b
expect($1).toBe($2);
endsnippet
snippet umd "Universal Module Definition" b

Loading…
Cancel
Save