Skip to content

Instantly share code, notes, and snippets.

@callingmedic911
Created April 24, 2022 14:55
Show Gist options
  • Save callingmedic911/a8cf9c94e8f1938eee33399b87db67cf to your computer and use it in GitHub Desktop.
Save callingmedic911/a8cf9c94e8f1938eee33399b87db67cf to your computer and use it in GitHub Desktop.
{
"Add describe block": {
"scope": "javascript,javascriptreact,typescript,typescriptreact",
"prefix": "describe",
"body": [
"describe('$1', () => {",
"\t$0",
"})"
],
"description": "Add describe block in test file"
},
"Add scenario block": {
"scope": "javascript,javascriptreact,typescript,typescriptreact",
"prefix": "scenario",
"body": [
"scenario('$1', async () => {",
"\t$0",
"})"
],
"description": "Add describe block in test file"
},
"Add test block": {
"scope": "javascript,javascriptreact,typescript,typescriptreact",
"prefix": "test",
"body": [
"test('$1', () => {",
"\t$0",
"})"
],
"description": "Add test block in test file"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment