Skip to content

Commit 5700c5d

Browse files
committed
hide skipped tests
When you have a lot of tests, and use a `.only` on a specific test, then all other tests are still visible in the UI. If you are logging something, then you always have to scroll up. To prevent this, we can use this flag to always hide the list of skipped tests. Note: the UI itself still has an indication that _something_ is being skipped: ```console Test Files 1 passed (1) Tests 1 passed | 97 skipped (98) Start at 13:27:14 Duration 55ms ```
1 parent 2ecb943 commit 5700c5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"build": "turbo build --filter=!./playgrounds/*",
3838
"postbuild": "node ./scripts/pack-packages.mjs",
3939
"dev": "turbo dev --filter=!./playgrounds/*",
40-
"test": "cargo test && vitest run",
41-
"test:integrations": "vitest --root=./integrations --no-file-parallelism",
40+
"test": "cargo test && vitest run --hideSkippedTests",
41+
"test:integrations": "vitest --root=./integrations --no-file-parallelism --hideSkippedTests",
4242
"test:ui": "pnpm run --filter=tailwindcss test:ui",
43-
"tdd": "vitest",
43+
"tdd": "vitest --hideSkippedTests",
4444
"bench": "vitest bench",
4545
"version-packages": "node ./scripts/version-packages.mjs",
4646
"vite": "pnpm run --filter=vite-playground dev",

0 commit comments

Comments
 (0)