1
0
mirror of https://github.com/amix/vimrc synced 2025-07-03 22:25:32 +08:00

Update vim-snippets.

This commit is contained in:
Kurtis Moxley
2022-05-19 22:57:32 +08:00
parent 421583d7d6
commit 5608a81ee4
24 changed files with 962 additions and 263 deletions

View File

@ -1,29 +1,29 @@
snippet des "describe('thing', () => { ... })" b
describe('${1:}', () => {
snippet des "describe('thing', function() { ... })" b
describe('${1:}', function() {
${0:${VISUAL}}
});
snippet it "it('should do', () => { ... })" b
it('${1:}', () => {
snippet it "it('should do', function() { ... })" b
it('${1:}', function() {
${0:${VISUAL}}
});
snippet xit "xit('should do', () => { ... })" b
xit('${1:}', () => {
snippet xit "xit('should do', function() { ... })" b
xit('${1:}', function() {
${0:${VISUAL}}
});
snippet bef "before(() => { ... })" b
before(() => {
snippet bef "before(function() { ... })" b
before(function() {
${0:${VISUAL}}
});
snippet befe "beforeEach(() => { ... })" b
beforeEach(() => {
snippet befe "beforeEach(function() { ... })" b
beforeEach(function() {
${0:${VISUAL}}
});
snippet aft "after(() => { ... })" b
after(() => {
snippet aft "after(function() { ... })" b
after(function() {
${0:${VISUAL}}
});
snippet afte "afterEach(() => { ... })" b
afterEach(() => {
snippet afte "afterEach(function() { ... })" b
afterEach(function() {
${0:${VISUAL}}
});
snippet exp "expect(...)" b