JS Mocha snippets

This commit is contained in:
Louis Pilfold 2016-06-08 20:22:16 +01:00
parent 641ccbefc5
commit 5225b54948

View File

@ -0,0 +1,14 @@
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});