vim-snippets/snippets/javascript-mocha.snippets

15 lines
273 B
Plaintext
Raw Normal View History

2016-06-08 15:22:16 -04:00
snippet des "Describe" b
describe('${1:}', () => {
${0}
});
snippet it "it" b
it('${1:}', () => {
${0}
});
snippet exp "expect" b
expect(${1:})${0};
snippet expe "expect" b
expect(${1:}).to.equal(${0});
snippet expd "expect" b
expect(${1:}).to.deep.equal(${0});