Skip to content

Commit b7d0535

Browse files
committed
Test: Adding afterAll and beforeAll snippet
1 parent 8135d6e commit b7d0535

File tree

5 files changed

+28
-2
lines changed

5 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* t-entb (expect not toBe)
1515
* t-be (beforeEach)
1616
* t-ae (afterEach)
17+
* t-ba (beforeAll)
18+
* t-aa (afterAll)
1719

1820
## 6.0.0
1921
* pwa-manifest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
254254
| rx-mergeMap | RxJS MergeMap Example |
255255
| sw-register | Register Service Worker |
256256
| sw-register-and-check | Register Service Worker and Check |
257+
| t-aa | afterAll Example |
257258
| t-ae | afterEach Example |
259+
| t-ba | beforeAll Example |
258260
| t-be | beforeEach Example |
259261
| t-component-async | TODO |
260262
| t-component-synchronous | TODO |

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": "183 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v6.0.8",
5+
"description": "190 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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,6 +2388,28 @@
23882388
"$0"
23892389
]
23902390
},
2391+
"Test beforeAll Example": {
2392+
"prefix": "t-ba",
2393+
"description": "beforeAll Example",
2394+
"types": "typescript",
2395+
"body": [
2396+
"beforeAll(function() {",
2397+
"\t$1",
2398+
"});",
2399+
"$0"
2400+
]
2401+
},
2402+
"Test afterAll Example": {
2403+
"prefix": "t-aa",
2404+
"description": "afterAll Example",
2405+
"types": "typescript",
2406+
"body": [
2407+
"afterAll(function() {",
2408+
"\t$1",
2409+
"});",
2410+
"$0"
2411+
]
2412+
},
23912413
"Test Expect toBe Example": {
23922414
"prefix": "t-etb",
23932415
"description": "Expect toBe Example",

0 commit comments

Comments
 (0)