Last active
June 28, 2018 13:26
-
-
Save alexandr-g/5619bb9169965253fcaf3f57efd70c59 to your computer and use it in GitHub Desktop.
VSCode user snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"print to console": { | |
"prefix": "cl", | |
"body": [ | |
"console.log('--->', $1)" | |
], | |
"description": "Log output to console" | |
}, | |
"import React": { | |
"prefix": "imr", | |
"body": "import React from 'react'" | |
}, | |
"describe": { | |
"prefix": "desc", | |
"body": [ | |
"describe('$1', () => {it('should ', () => {})})" | |
], | |
"description": "create new test suite" | |
}, | |
"new test case": { | |
"prefix": "it", | |
"body": [ | |
"it('should $1', () => {})" | |
], | |
"description": "create new test case" | |
}, | |
"mount from enzyme": { | |
"prefix": "mnt", | |
"body": "import { mount } from 'enzyme'", | |
"description": "import mount from enzyme" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment