Skip to content

Commit 6282a3a

Browse files
authored
Merge pull request #16 from deinsoftware/dev
Dev
2 parents 02dddb0 + a4f4826 commit 6282a3a

File tree

4 files changed

+20
-13
lines changed

4 files changed

+20
-13
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: Eomm/why-don-t-you-tweet@v1
4040
if: ${{ !github.event.repository.private }}
4141
with:
42-
tweet-message: "Extension for @code with testging library snippets ${{ github.event.release.tag_name }} 🐛🔨 is here 🥳\n\n
42+
tweet-message: "Extension for @code with testing library snippets ${{ github.event.release.tag_name }} 🐛🔨 is here 🥳\n\n
4343
$ ext install deinsoftware.testing-library-snippets\n\n
4444
#vscode #snippets #javascript #testing-library\n\n
4545
https://marketplace.visualstudio.com/items?itemName=deinsoftware.testing-library-snippets"

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"itue",
99
"matc",
1010
"paypal",
11+
"qidf",
12+
"qids",
1113
"qlsq",
1214
"qrc",
1315
"qrcc",
@@ -20,11 +22,16 @@
2022
"qtew",
2123
"qtf",
2224
"qti",
25+
"qtid",
26+
"qtidf",
27+
"qtids",
2328
"qtif",
2429
"qtis",
2530
"qts",
2631
"qtsi",
2732
"qtsw",
33+
"qttf",
34+
"qtts",
2835
"rewi",
2936
"rswi",
3037
"sltp",

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,17 @@ All the `░variantBy` cursor start with `getBy` by default, but can be easily c
208208

209209
| Trigger | Result |
210210
| :------- | ------------------------------------------------------- |
211-
| `qt→` | `screen.░variantByTitle(░)█` |
212-
| `qtf→` | `screen.░variantByTitle('░Text Match')█` |
213-
| `qts→` | `screen.░variantByTitle('░ext Matc', {exact: false})█` |
211+
| `qtt→` | `screen.░variantByTitle(░)█` |
212+
| `qttf→` | `screen.░variantByTitle('░Text Match')█` |
213+
| `qtts→` | `screen.░variantByTitle('░ext Matc', {exact: false})█` |
214214

215215
#### 9. TestId
216216

217217
| Trigger | Result |
218218
| :------- | -------------------------------------------------------- |
219-
| `qti` | `screen.░variantByTestId(░)█` |
220-
| `qtif` | `screen.░variantByTestId('░Text Match')█` |
221-
| `qtis` | `screen.░variantByTestId('░ext Matc', {exact: false})█` |
219+
| `qid` | `screen.░variantByTestId(░)█` |
220+
| `qidf` | `screen.░variantByTestId('░Text Match')█` |
221+
| `qids` | `screen.░variantByTestId('░ext Matc', {exact: false})█` |
222222

223223
### Debug
224224

snippets/queries.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -222,43 +222,43 @@
222222
},
223223

224224
"query.Title": {
225-
"prefix": "qt",
225+
"prefix": "qtt",
226226
"body": [
227227
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}Title($2)$0"
228228
],
229229
"description": "Title query"
230230
},
231231
"query.Title.full": {
232-
"prefix": "qtf",
232+
"prefix": "qttf",
233233
"body": [
234234
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}Title('${2:Text Match}')$0"
235235
],
236236
"description": "Title query full string match"
237237
},
238238
"query.Title.substring": {
239-
"prefix": "qts",
239+
"prefix": "qtts",
240240
"body": [
241241
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}Title('${2:ext Matc}', {exact: false})$0"
242242
],
243243
"description": "Title query substring match"
244244
},
245245

246246
"query.TestId": {
247-
"prefix": "qti",
247+
"prefix": "qid",
248248
"body": [
249249
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId($2)$0"
250250
],
251251
"description": "TestId query"
252252
},
253253
"query.TestId.full": {
254-
"prefix": "qtif",
254+
"prefix": "qidf",
255255
"body": [
256256
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId('${2:Text Match}')$0"
257257
],
258258
"description": "TestId query full string match"
259259
},
260260
"query.TestId.substring": {
261-
"prefix": "qtis",
261+
"prefix": "qids",
262262
"body": [
263263
"screen.${1|getBy,getAllBy,queryBy,queryAllBy,findBy,findByAll|}TestId('${2:ext Matc}', {exact: false})$0"
264264
],

0 commit comments

Comments
 (0)