mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			803 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			803 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 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});
 | 
