Skip to content

Commit 108f975

Browse files
committed
edit README.md
1 parent 3989ea0 commit 108f975

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,30 @@ process.exit(${1:code});
258258
```javascript
259259
require('${1:module}');
260260
```
261+
## BDD
262+
263+
### [desc] describe
264+
265+
```javascript
266+
describe('${1:description}', function () {
267+
${2:// body...}
268+
})
269+
```
270+
### [ita] it asynchronous
271+
272+
```javascript
273+
it('${1:description}', function (done) {
274+
${2:// body...}
275+
})
276+
```
277+
278+
### [its] it synchronous
279+
280+
```javascript
281+
it('${1:description}', function () {
282+
${2:// body...}
283+
})
284+
```
261285
262286
## Misc
263287

0 commit comments

Comments
 (0)