Skip to content

Commit cc70359

Browse files
committed
Test: Adding t-entb snippet
1 parent c565615 commit cc70359

File tree

4 files changed

+26
-10
lines changed

4 files changed

+26
-10
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
257257
| t-component-async | TODO |
258258
| t-component-synchronous | TODO |
259259
| t-describe-it | Describe, It & Expect Example |
260-
| t-etb | Expect ToBe Example |
260+
| t-entb | Expect Not toBe Example |
261+
| t-etb | Expect toBe Example |
261262
| t-it | It & Expect Example |
262263
| t-pipe | Test a pipe |
263264
| wat | A lightning talk by Gary Bernhardt from CodeMash 2012. ng-wat talk by Shai Reznik in 2015 |
@@ -281,12 +282,15 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
281282
5. Reload VS Code
282283

283284

284-
## If you want intellesense to show emmets before the snippets, you can force the emmets suggestions to show up at the top, by add the following to your editor user settings:
285+
## Emmets
286+
If you want intellisense to show emmets before the snippets, you can force the emmets suggestions to show up at the top, by add the following to your editor user settings:
285287

288+
```javascript
286289
{
287-
"emmet.showSuggestionsAsSnippets": true,
288-
"editor.snippetSuggestions": "top"
290+
"emmet.showSuggestionsAsSnippets": true,
291+
"editor.snippetSuggestions": "top"
289292
}
293+
```
290294

291295

292296
## Feedback

snippets/typescript.json

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

src/README_bottom.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@
1818
5. Reload VS Code
1919

2020

21-
## If you want intellesense to show emmets before the snippets, you can force the emmets suggestions to show up at the top, by add the following to your editor user settings:
21+
## Emmets
22+
If you want intellisense to show emmets before the snippets, you can force the emmets suggestions to show up at the top, by add the following to your editor user settings:
2223

24+
```javascript
2325
{
24-
"emmet.showSuggestionsAsSnippets": true,
25-
"editor.snippetSuggestions": "top"
26+
"emmet.showSuggestionsAsSnippets": true,
27+
"editor.snippetSuggestions": "top"
2628
}
29+
```
2730

2831

2932
## Feedback

src/snippets.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,15 +2366,24 @@
23662366
"$0"
23672367
]
23682368
},
2369-
"Test Expect ToBe Example": {
2369+
"Test Expect toBe Example": {
23702370
"prefix": "t-etb",
2371-
"description": "Expect ToBe Example",
2371+
"description": "Expect toBe Example",
23722372
"types": "typescript",
23732373
"body": [
23742374
"expect($2).toBe($3);",
23752375
"$0"
23762376
]
23772377
},
2378+
"Test Expect Not toBe Example": {
2379+
"prefix": "t-entb",
2380+
"description": "Expect Not toBe Example",
2381+
"types": "typescript",
2382+
"body": [
2383+
"expect($2).not.toBe($3);",
2384+
"$0"
2385+
]
2386+
},
23782387
"Angular Http Interceptor": {
23792388
"prefix": "ng-http-interceptor",
23802389
"description": "Intercept an outgoing HttpRequest and optionally transform it or the response.",

0 commit comments

Comments
 (0)