Skip to content

Commit eeeb027

Browse files
committed
Test: adding not toBeFalsy snippets
1 parent 3038099 commit eeeb027

File tree

5 files changed

+13
-2
lines changed

5 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* e-tb (expect toBe)
1212
* e-ntb (expect not toBe)
1313
* e-tbf (expect toBeFalsy)
14+
* e-ntbf (expect not toBeFalsy)
1415
* e-tm (expect toMatch)
1516
* e-ntm (expect not toMatch)
1617
* e-tmr (expect toMatch regex)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
7373
| ------- | ----------|
7474
| cli-cheatsheet | Cli Cheat Sheet |
7575
| e-ntb | Expect Not toBe |
76+
| e-ntbf | Expect not toBe Falsy |
7677
| e-ntbn | Expect Not toBeNull |
7778
| e-ntm | Expect Not toMatch |
7879
| e-ntmr | Expect Not toMatch regex |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Angular-BeastCode",
33
"publisher": "Mikael",
44
"displayName": "Angular 6 Snippets - TypeScript, Html, Angular Material, ngRx, RxJS & Flex Layout",
5-
"description": "198 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v6.0.8",
5+
"description": "199 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v6.0.8",
66
"icon": "images/Angular4.png",
77
"license": "MIT",
88
"repository": {

snippets/typescript.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/snippets.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2448,6 +2448,15 @@
24482448
"$0"
24492449
]
24502450
},
2451+
"Test Expect not toBeFalsy": {
2452+
"prefix": "e-ntbf",
2453+
"description": "Expect not toBe Falsy",
2454+
"types": "typescript",
2455+
"body": [
2456+
"expect($2).toBeFalsy();",
2457+
"$0"
2458+
]
2459+
},
24512460
"Test Expect toMatch": {
24522461
"prefix": "e-tm",
24532462
"description": "Expect toMatch",

0 commit comments

Comments
 (0)