Skip to content

Commit 6dbe9f9

Browse files
committed
Adding Expect.toBeGreaterThanOrEqual
1 parent 49489d0 commit 6dbe9f9

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
@@ -26,6 +26,7 @@
2626
* e-ntbu (expect not toBeUndefined)
2727
* e-tbgt (expect toBeGreaterThan)
2828
* e-tblt (expect toBeLessThan)
29+
* e-tbgtoe (expect toBeGreaterThanOrEqual)
2930

3031
* Jest Testing
3132
* e-tms (expect toMatchSnapshot)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
8484
| e-tbd | Expect toBe Defined |
8585
| e-tbf | Expect toBe Falsy |
8686
| e-tbgt | Expect Not toBeGreaterThan |
87+
| e-tbgtoe | Expect Not toBeGreaterThanOrEqual |
8788
| e-tblt | Expect Not toBeLessThan |
8889
| e-tbn | Expect toBeNull |
8990
| e-tbt | Expect toBe Truthy |

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": "211 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v6.0.8",
5+
"description": "212 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
@@ -2582,6 +2582,15 @@
25822582
"$0"
25832583
]
25842584
},
2585+
"Test Expect toBeGreaterThanOrEqual": {
2586+
"prefix": "e-tbgtoe",
2587+
"description": "Expect Not toBeGreaterThanOrEqual",
2588+
"types": "typescript",
2589+
"body": [
2590+
"expect($1).toBeGreaterThanOrEqual($2);",
2591+
"$0"
2592+
]
2593+
},
25852594
"Test Expect toBeLessThan": {
25862595
"prefix": "e-tblt",
25872596
"description": "Expect Not toBeLessThan",

0 commit comments

Comments
 (0)