You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/api.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ Vitest instance requires the current test mode. It can be either:
52
52
53
53
- `test` when running runtime tests
54
54
- `benchmark` when running benchmarks
55
-
- `typecheck` when running type tests
56
55
57
56
### mode
58
57
@@ -64,10 +63,6 @@ Test mode will only call functions inside `test` or `it`, and throws an error wh
64
63
65
64
Benchmark mode calls `bench` functions and throws an error, when it encounters `test` or `it`. This mode uses `benchmark.include` and `benchmark.exclude` options in the config to find benchmark files.
66
65
67
-
#### typecheck
68
-
69
-
Typecheck mode doesn't _run_ tests. It only analyses types and gives a summary. This mode uses `typecheck.include` and `typecheck.exclude` options in the config to find files to analyze.
70
-
71
66
### start
72
67
73
68
You can start running tests or benchmarks with `start` method. You can pass an array of strings to filter test files.
0 commit comments