Skip to content

Commit

Permalink
More specific snippet descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
samhh committed Dec 27, 2024
1 parent 46a9455 commit 866e8e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions home/snippets/typescript.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"desc": {
"description": "Describe block",
"description": "describe()",
"prefix": "desc",
"body": ["describe('${0}', () => {", "})"]
},
"it": {
"description": "It block",
"description": "it()",
"prefix": "it",
"body": ["it('${0}', () => {", "})"]
},
"pbt": {
"description": "Property-based test",
"description": "fc.assert(fc.property())",
"prefix": "pbt",
"body": ["fc.assert(fc.property(", " ${0}", "))"]
},
"pbta": {
"description": "Property-based test (async)",
"description": "fc.assert(fc.asyncProperty())",
"prefix": "pbta",
"body": ["fc.assert(fc.asyncProperty(", " ${0}", "))"]
}
Expand Down

0 comments on commit 866e8e8

Please sign in to comment.