Skip to content

Commit 023f3b3

Browse files
committed
Build 2 test snippets from PRs
1 parent ba3583b commit 023f3b3

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,6 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
274274
| ng-src | Usage: Bind to the src property. |
275275
| ng-style | CSS style |
276276
| ng-switch | Switch template |
277-
| ng-test-directive | TODO |
278-
| ng-test-service | TODO |
279277
| ng-validator | Angular validator snippet |
280278
| ngrx-action-const | ngRx Single action |
281279
| ngrx-action-creator | ngRx Single action with const |
@@ -308,12 +306,14 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
308306
| t-afterEach | afterEach |
309307
| t-beforeAll | beforeAll |
310308
| t-beforeEach | beforeEach |
311-
| t-component-async | TODO |
312-
| t-component-synchronous | TODO |
309+
| t-component-async | Test Async Component |
310+
| t-component-synchronous | Test Synchronous Component |
313311
| t-describe-it | Describe, It & Expect |
312+
| t-directive | Test a directive |
314313
| t-it | It |
315314
| t-ite | It and Expect |
316315
| t-pipe | Test a pipe |
316+
| t-service | Test a service |
317317
| wat | A lightning talk by Gary Bernhardt from CodeMash 2012. ng-wat talk by Shai Reznik in 2015 |
318318

319319

Diff for: package.json

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

Diff for: snippets/typescript.json

+1-1
Large diffs are not rendered by default.

Diff for: src/snippets.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@
12261226
},
12271227
"Angular Test Synchronous Component": {
12281228
"prefix": "t-component-synchronous",
1229-
"description": "TODO",
1229+
"description": "Test Synchronous Component",
12301230
"types": "typescript",
12311231
"body": [
12321232
"// synchronous beforeEach",
@@ -1245,7 +1245,7 @@
12451245
},
12461246
"Angular Test Async Component": {
12471247
"prefix": "t-component-async",
1248-
"description": "TODO",
1248+
"description": "Test Async Component",
12491249
"types": "typescript",
12501250
"body": [
12511251
"// async beforeEach",
@@ -1259,7 +1259,7 @@
12591259
]
12601260
},
12611261
"Angular Test Directive": {
1262-
"prefix": "ng-test-directive",
1262+
"prefix": "t-directive",
12631263
"description": "Test a directive",
12641264
"types": "typescript",
12651265
"body": [
@@ -1272,7 +1272,7 @@
12721272
]
12731273
},
12741274
"Angular Test Service": {
1275-
"prefix": "ng-test-service",
1275+
"prefix": "t-service",
12761276
"description": "Test a service",
12771277
"types": "typescript",
12781278
"body": [

0 commit comments

Comments
 (0)