Skip to content

Commit

Permalink
[fe] Default vitest to run mode (MystenLabs#7388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Mysten authored Jan 13, 2023
1 parent a10b50c commit f26e964
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion apps/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"lint": "pnpm run eslint:check && pnpm run prettier:check && pnpm run stylelint:check",
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix && pnpm run stylelint:fix",
"start": "concurrently --restart-tries 10 --raw \"pnpm:build:dev --watch\" \"pnpm:prettier:fix:watch\"",
"test": "vitest",
"test": "vitest run",
"test:watch": "vitest",
"playwright": "playwright",
"make-font-icons": "svgtofont -s ./font-icons/svgs/ -o ./font-icons/output/",
"pack:zip": "web-ext build --source-dir ./dist --overwrite-dest",
Expand Down
3 changes: 2 additions & 1 deletion sdk/bcs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"build": "pnpm build:types && tsup ./src/index.ts --format esm,cjs --sourcemap",
"build:types": "tsc --build",
"prepublishOnly": "pnpm build",
"test": "vitest"
"test": "vitest run",
"test:watch": "vitest"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions sdk/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"build:types": "tsc --build",
"doc": "typedoc",
"test": "pnpm test:unit",
"test:unit": "vitest unit",
"test:e2e": "wait-on http://127.0.0.1:9123 -l --timeout 120000 && vitest e2e",
"test:e2e:nowait": "vitest e2e",
"test:unit": "vitest run unit",
"test:e2e": "wait-on http://127.0.0.1:9123 -l --timeout 120000 && vitest run e2e",
"test:e2e:nowait": "vitest run e2e",
"prepare:e2e": "cargo build --bin sui-test-validator --bin sui --profile dev && RUST_LOG=info,sui=debug,anemo_tower=warn,consensus=off cargo run --bin sui-test-validator",
"lint": "eslint './{src,test}/**.{ts,js}'",
"prepublishOnly": "pnpm build",
Expand Down

0 comments on commit f26e964

Please sign in to comment.