22
33## BDD
44
5- Prefix ` bdd -*`
5+ Prefix ` b -*`
66
7- ### [ bdd -aeach] afterEach
7+ ### [ b -aeach] afterEach
88
99``` javascript
1010afterEach (function () {
1111 ${1 }
1212});
1313```
1414
15- ### [ bdd -beach] beforeEach
15+ ### [ b -beach] beforeEach
1616
1717``` javascript
1818beforeEach (function () {
1919 ${1 }
2020});
2121```
2222
23- ### [ bdd -desc] describe
23+ ### [ b -desc] describe
2424
2525``` javascript
2626describe (" $1" , function () {
2727 $2
2828});
2929```
3030
31- ### [ bdd -it] it
31+ ### [ b -it] it
3232
3333``` javascript
3434it (" ${1}" , function () {
@@ -38,109 +38,109 @@ it("${1}", function() {
3838
3939## Expect
4040
41- ### [ bdd -bect] toBeCloseTo
41+ ### [ b -bect] toBeCloseTo
4242
4343``` javascript
4444expect (${1 }).toBeCloseTo (${2 }, ${3 });
4545```
4646
47- ### [ bdd -bec] toBeContain
47+ ### [ b -bec] toBeContain
4848
4949``` javascript
5050expect (${1 }).toBeContain (${2 });
5151```
5252
53- ### [ bdd -bed] toBeDefined
53+ ### [ b -bed] toBeDefined
5454
5555``` javascript
5656expect (${1 }).toBeDefined ();
5757```
5858
59- ### [ bdd -bef] toBeFalsy
59+ ### [ b -bef] toBeFalsy
6060
6161``` javascript
6262expect (${1 }).toBeFalsy ();
6363```
6464
65- ### [ bdd -begt] toBeGreaterThan
65+ ### [ b -begt] toBeGreaterThan
6666
6767``` javascript
6868expect (${1 }).toBeGreaterThan (${2 });
6969```
7070
71- ### [ bdd -belt] toBeLessThan
71+ ### [ b -belt] toBeLessThan
7272
7373``` javascript
7474expect (${1 }).toBeLessThan (${2 });
7575```
7676
77- ### [ bdd -benan] toBeNaN
77+ ### [ b -benan] toBeNaN
7878
7979``` javascript
8080expect (${1 }).toBeNaN ();
8181```
8282
83- ### [ bdd -ben] toBeNull
83+ ### [ b -ben] toBeNull
8484
8585``` javascript
8686expect (${1 }).toBeNull ();
8787```
8888
89- ### [ bdd -bet] toBeTruthy
89+ ### [ b -bet] toBeTruthy
9090
9191``` javascript
9292expect (${1 }).toBeTruthy ();
9393```
9494
95- ### [ bdd -beu] toBeUndefined
95+ ### [ b -beu] toBeUndefined
9696
9797``` javascript
9898expect (${1 }).toBeUndefined ();
9999```
100100
101- ### [ bdd -be] toBe
101+ ### [ b -be] toBe
102102
103103``` javascript
104104expect (${1 }).toBe (${2 });
105105```
106106
107- ### [ bdd -e] toEqual
107+ ### [ b -e] toEqual
108108
109109``` javascript
110110expect (${1 }).toEqual (${2 });
111111```
112112
113- ### [ bdd -hbct] toHaveBeenCalledTimes
113+ ### [ b -hbct] toHaveBeenCalledTimes
114114
115115``` javascript
116116expect (${1 }).toHaveBeenCalledTimes (${2 });
117117```
118118
119- ### [ bdd -hbcw] toHaveBeenCalledWith
119+ ### [ b -hbcw] toHaveBeenCalledWith
120120
121121``` javascript
122122expect (${1 }).toHaveBeenCalledWith (${2 }, ${3 });
123123```
124124
125- ### [ bdd -hbc] toHaveBeenCalled
125+ ### [ b -hbc] toHaveBeenCalled
126126
127127``` javascript
128128expect (${1 }).toHaveBeenCalled ();
129129```
130130
131- ### [ bdd -m] toMatch
131+ ### [ b -m] toMatch
132132
133133``` javascript
134134expect (${1 }).toMatch (${2 });
135135```
136136
137- ### [ bdd -te] toThrowError
137+ ### [ b -te] toThrowError
138138
139139``` javascript
140140expect (${1 }).toThrowError (${2 });
141141```
142142
143- ### [ bdd -t] toThrow
143+ ### [ b -t] toThrow
144144
145145``` javascript
146146expect (${1 }).toThrow (${2 });
0 commit comments