Skip to content

Commit 9b611ef

Browse files
committed
add dt
1 parent af153ff commit 9b611ef

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,14 @@ describe('${1:description}', function () {
678678
})
679679
```
680680

681+
#### `dt` describe top level
682+
683+
```js
684+
describe('${TM_FILENAME_BASE}', function () {
685+
${0}
686+
})
687+
```
688+
681689
#### `it⇥` asynchronous "it"
682690

683691
```js

snippets/javascript.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
"prefix": "desc",
7272
"body": "describe('${1:description}', () => {\n\t${0}\n})"
7373
},
74+
"describe top level": {
75+
"prefix": "dt",
76+
"body": "describe('${TM_FILENAME_BASE}', () => {\n\t${0}\n})"
77+
},
7478
"it asynchronous": {
7579
"prefix": "it",
7680
"body": "it('${1:description}', async () => {\n\t${0}\n})"

0 commit comments

Comments
 (0)