2017-08-03 11:21:37 -04:00
|
|
|
snippet des "describe('thing', () => { ... })" b
|
2016-06-11 09:56:50 -04:00
|
|
|
describe('${1:}', () => {
|
2017-08-03 11:21:37 -04:00
|
|
|
${0:${VISUAL}}
|
2016-06-11 09:56:50 -04:00
|
|
|
});
|
2017-08-03 11:21:37 -04:00
|
|
|
snippet it "it('should do', () => { ... })" b
|
2016-06-11 09:56:50 -04:00
|
|
|
it('${1:}', () => {
|
2017-08-03 11:21:37 -04:00
|
|
|
${0:${VISUAL}}
|
2016-06-11 09:56:50 -04:00
|
|
|
});
|
2017-08-03 11:21:37 -04:00
|
|
|
snippet xit "xit('should do', () => { ... })" b
|
2016-11-09 12:22:55 -05:00
|
|
|
xit('${1:}', () => {
|
2017-08-03 11:21:37 -04:00
|
|
|
${0:${VISUAL}}
|
2016-11-09 12:22:55 -05:00
|
|
|
});
|
2017-08-03 11:21:37 -04:00
|
|
|
snippet bef "before(() => { ... })" b
|
|
|
|
before(() => {
|
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
|
|
|
snippet befe "beforeEach(() => { ... })" b
|
|
|
|
beforeEach(() => {
|
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
|
|
|
snippet aft "after(() => { ... })" b
|
|
|
|
after(() => {
|
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
|
|
|
snippet afte "afterEach(() => { ... })" b
|
|
|
|
afterEach(() => {
|
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
|
|
|
snippet exp "expect(...)" b
|
2016-06-11 09:56:50 -04:00
|
|
|
expect(${1:})${0};
|
2017-08-03 11:21:37 -04:00
|
|
|
snippet expe "expect(...).to.equal(...)" b
|
2016-06-11 09:56:50 -04:00
|
|
|
expect(${1:}).to.equal(${0});
|
2017-08-03 11:21:37 -04:00
|
|
|
snippet expd "expect(...).to.deep.equal(...)" b
|
2016-06-11 09:56:50 -04:00
|
|
|
expect(${1:}).to.deep.equal(${0});
|