Skip to content

Commit 4a411c6

Browse files
committed
docs: add missing token
1 parent 0b9955a commit 4a411c6

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

docusaurus/docs/cypress/guide/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,10 @@ jobs:
202202

203203
# highlight-start
204204
- run:
205-
name: cypress with @knapsack-pro/cypress
206-
command: npx @knapsack-pro/cypress --config trashAssetsBeforeRuns=false
205+
name: Cypress with @knapsack-pro/cypress
206+
command: |
207+
KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS=MY_CYPRESS_API_TOKEN \
208+
npx @knapsack-pro/cypress --config trashAssetsBeforeRuns=false
207209
# highlight-end
208210
```
209211

docusaurus/docs/jest/guide/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,10 @@ jobs:
200200

201201
# highlight-start
202202
- run:
203-
name: jest with @knapsack-pro/jest
204-
command: npx @knapsack-pro/jest
203+
name: Jest with @knapsack-pro/jest
204+
command: |
205+
KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST=MY_JEST_API_TOKEN \
206+
npx @knapsack-pro/jest
205207
# highlight-end
206208
```
207209

docusaurus/docs/playwright/guide/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,10 @@ jobs:
209209

210210
# highlight-start
211211
- run:
212-
name: playwright with @knapsack-pro/playwright
213-
command: npx @knapsack-pro/playwright --reporter=blob,@knapsack-pro/playwright/reporters/batch
212+
name: Playwright with @knapsack-pro/playwright
213+
command: |
214+
KNAPSACK_PRO_TEST_SUITE_TOKEN_PLAYWRIGHT=MY_PLAYWRIGHT_API_TOKEN \
215+
npx @knapsack-pro/playwright --reporter=blob,@knapsack-pro/playwright/reporters/batch
214216
# highlight-end
215217
```
216218

docusaurus/docs/vitest/guide/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,10 @@ jobs:
194194

195195
# highlight-start
196196
- run:
197-
name: vitest with @knapsack-pro/vitest
198-
command: npx @knapsack-pro/vitest
197+
name: Vitest with @knapsack-pro/vitest
198+
command: |
199+
KNAPSACK_PRO_TEST_SUITE_TOKEN_VITEST=MY_VITEST_API_TOKEN \
200+
npx @knapsack-pro/vitest
199201
# highlight-end
200202
```
201203

0 commit comments

Comments
 (0)