-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/vitest-example-test-suite/bin/knapsack_pro_vitest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
CI_BUILD_ID=$(openssl rand -base64 32) | ||
|
||
ENDPOINT=https://api-staging.knapsackpro.com | ||
# ENDPOINT=http://api.knapsackpro.test:3000 | ||
|
||
LOG_LEVEL=info | ||
# LOG_LEVEL=debug | ||
|
||
# TODO remove KNAPSACK_PRO_TEST_SUITE_TOKEN once we start using KNAPSACK_PRO_TEST_SUITE_TOKEN_VITEST | ||
KNAPSACK_PRO_ENDPOINT=$ENDPOINT \ | ||
KNAPSACK_PRO_TEST_SUITE_TOKEN=d264b4b40f900d79178ca63e7ffc971f \ | ||
KNAPSACK_PRO_TEST_SUITE_TOKEN_VITEST=d264b4b40f900d79178ca63e7ffc971f \ | ||
KNAPSACK_PRO_LOG_LEVEL=$LOG_LEVEL \ | ||
KNAPSACK_PRO_CI_NODE_BUILD_ID=$CI_BUILD_ID \ | ||
KNAPSACK_PRO_CI_NODE_TOTAL=${2:-2} \ | ||
KNAPSACK_PRO_CI_NODE_INDEX=${1:-0} \ | ||
npx @knapsack-pro/vitest --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters