From 5225b549487bf97eb5aa6c5cae91379a1ad9b7ba Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 8 Jun 2016 20:22:16 +0100 Subject: [PATCH] JS Mocha snippets --- snippets/javascript-mocha.snippets | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 snippets/javascript-mocha.snippets diff --git a/snippets/javascript-mocha.snippets b/snippets/javascript-mocha.snippets new file mode 100644 index 0000000..f08bf84 --- /dev/null +++ b/snippets/javascript-mocha.snippets @@ -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});