Last active
September 6, 2021 10:11
-
-
Save v19i/9476d09267884bd13f7776245817e611 to your computer and use it in GitHub Desktop.
VSCode: JS/TS 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
"new empty lambda": { | |
"prefix": "nel", | |
"body": [ | |
"($1) => {$2}" | |
], | |
"description": "creates a new empty lambda expression" | |
}, | |
"new async empty lambda": { | |
"prefix": "nela", | |
"body": [ | |
"async ($1) => {$2}" | |
], | |
"description": "creates a new async empty lambda expression" | |
}, | |
"new test case": { | |
"prefix": "its", | |
"body": [ | |
"it(\"should $1\", () => {$2});" | |
], | |
"description": "creates a new test case" | |
}, | |
"new async test case": { | |
"prefix": "itsa", | |
"body": [ | |
"it(\"should $1\", async () => {$2});" | |
], | |
"description": "creates a new async test case" | |
}, | |
"new describe block": { | |
"prefix": "dsc", | |
"body": "describe(\"$1\", () => {$2});", | |
"description": "creates a new describe block" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment