mirror of
https://github.com/amix/vimrc
synced 2024-12-13 05:32:34 +00:00
34 lines
803 B
Text
34 lines
803 B
Text
snippet des "describe('thing', () => { ... })" b
|
|
describe('${1:}', () => {
|
|
${0:${VISUAL}}
|
|
});
|
|
snippet it "it('should do', () => { ... })" b
|
|
it('${1:}', () => {
|
|
${0:${VISUAL}}
|
|
});
|
|
snippet xit "xit('should do', () => { ... })" b
|
|
xit('${1:}', () => {
|
|
${0:${VISUAL}}
|
|
});
|
|
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
|
|
expect(${1:})${0};
|
|
snippet expe "expect(...).to.equal(...)" b
|
|
expect(${1:}).to.equal(${0});
|
|
snippet expd "expect(...).to.deep.equal(...)" b
|
|
expect(${1:}).to.deep.equal(${0});
|