2022-08-08 13:45:56 +00:00
|
|
|
snippet des "describe('thing', function() { ... })" b
|
|
|
|
describe('${1:}', function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
2016-06-11 13:56:50 +00:00
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet it "it('should do', function() { ... })" b
|
|
|
|
it('${1:}', function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
2016-06-11 13:56:50 +00:00
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet xit "xit('should do', function() { ... })" b
|
|
|
|
xit('${1:}', function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
2016-11-09 17:22:55 +00:00
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet bef "before(function() { ... })" b
|
|
|
|
before(function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet befe "beforeEach(function() { ... })" b
|
|
|
|
beforeEach(function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet aft "after(function() { ... })" b
|
|
|
|
after(function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
2022-08-08 13:45:56 +00:00
|
|
|
snippet afte "afterEach(function() { ... })" b
|
|
|
|
afterEach(function() {
|
2017-02-11 13:01:38 +00:00
|
|
|
${0:${VISUAL}}
|
|
|
|
});
|
|
|
|
snippet exp "expect(...)" b
|
2016-06-11 13:56:50 +00:00
|
|
|
expect(${1:})${0};
|
2017-02-11 13:01:38 +00:00
|
|
|
snippet expe "expect(...).to.equal(...)" b
|
2016-06-11 13:56:50 +00:00
|
|
|
expect(${1:}).to.equal(${0});
|
2017-02-11 13:01:38 +00:00
|
|
|
snippet expd "expect(...).to.deep.equal(...)" b
|
2016-06-11 13:56:50 +00:00
|
|
|
expect(${1:}).to.deep.equal(${0});
|