npm install
- Open template.js
- Add as many snippets as you'd like
eg:
/**
* description: "Unit Test Server"
* prefix: "uts"
*/
describe("$1 ::", () => {
afterEach(() => {});
beforeEach(() => {});
test("Should $2", () => {});
});
- From terminal
createSnippet
Snippets are written to stdout
OR
createSnippet true
Snippets written directly to javascript.json in vs code (mac only)
- Open javascript.json
- Paste your new snippets
Enjoy : )