Update jasmine snippets

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

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

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

Loading…
Cancel
Save