JS Mocha snippets
This commit is contained in:
parent
641ccbefc5
commit
5225b54948
14
snippets/javascript-mocha.snippets
Normal file
14
snippets/javascript-mocha.snippets
Normal 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});
|
Loading…
Reference in New Issue
Block a user