47 Commits

Author SHA1 Message Date
renovate[bot]
da8b93aa53
fix(deps): update all non-major dependencies (#8636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-11-06 14:39:50 +01:00
Ari Perkkiö
4822d047a7
feat!: rewrite pools without tinypool (#8705)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-10-21 19:12:54 +02:00
renovate[bot]
704eba24b4
fix(deps): update all non-major dependencies (#8382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-28 13:23:05 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Vladimir
1e60c4f440
fix!: remove Node types from the main entry point, use vitest/node instead (#8200) 2025-06-20 17:01:02 +02:00
Vladimir
0e960aa78b
fix: throw an error if typechecker failed to spawn (#7990) 2025-05-19 15:14:41 +02:00
Artem Zakharchenko
e996b4103b
fix(expect): support type-safe declaration of custom matchers (#7656)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-05-19 15:12:53 +02:00
Josh Goldberg ✨
8ec448db61
fix: switch ExpectStatic any types to AsymmetricMatcher<unknown>, with DeeplyAllowMatchers<T> (#7016) 2025-05-18 12:53:27 +02:00
Vladimir
34f43ae687
fix(typecheck): avoid creating a temporary tsconfig file when typechecking (#7967) 2025-05-16 17:15:10 +02:00
renovate[bot]
29084f10fe
chore(deps): update all non-major dependencies (#7802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 14:00:24 +02:00
renovate[bot]
7fc5a29083
fix(deps): update all non-major dependencies (#7600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-25 12:03:11 +09:00
Hiroshi Ogawa
82215a1bff
test: replace googleapis with minimal repro (#7721) 2025-03-23 14:32:26 +09:00
renovate[bot]
4b0451d9e5
chore(deps): update dependency @antfu/eslint-config to v4 (#7407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-03-11 16:06:15 +01:00
renovate[bot]
38ea8eaef8
fix(deps): update all non-major dependencies (#7297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-01-23 14:29:46 +01:00
Arya Emami
8dd2071376
chore: fix various typos (#7054) 2025-01-08 14:21:45 +01:00
Hiroshi Ogawa
27d340aa51
fix(typecheck): fix error test case mapping for @ts-expect-error (#7125) 2024-12-27 10:07:38 +01:00
Nourman Hajar
61b30162ae
fix(typecheck): use unique temp and tsbuildinfo file for each tsconfig file (fix #7107) (#7112) 2024-12-23 09:41:37 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Vladimir
a3bef598ee
feat: print project name as a label (#6925) 2024-12-01 23:37:41 +01:00
Superchupu
c321a3fd29
chore: replace fast-glob with tinyglobby (#6274) 2024-09-06 14:49:25 +02:00
Hiroshi Ogawa
e03683c511
fix(snapshot): improve inline snapshot inside loop rejection (#6339) 2024-08-19 10:04:28 +02:00
Vladimir
153ff01b10
fix(typecheck): run both runtime and typecheck tests if typecheck.include overlaps with include (#6256) 2024-08-13 12:42:39 +02:00
Vladimir
57d23cec43
docs: fix inconsistencies, remove low informative twoslash examples (#6200) 2024-07-23 14:52:21 +02:00
renovate[bot]
f55dc0081d
chore(deps): update all non-major dependencies (#6046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-15 17:10:15 +02:00
Ari Perkkiö
780b187f22
feat(api): startVitest() to accept stdout and stdin (#5493) 2024-04-23 15:09:20 +02:00
Hiroshi Ogawa
35675bd38a
fix(typecheck): fix suite collection while-loop (#5065) 2024-01-30 08:57:24 +01:00
Hiroshi Ogawa
6dae3feb82
fix(typecheck): fix ignoreSourceErrors in run mode (#5044) 2024-01-26 11:26:55 +01:00
Vladimir Sheremet
ac66481c86 chore: fix test package names 2024-01-11 14:06:00 +01:00
Vladimir Sheremet
353c58f886 test: increase test timeout for CI 2024-01-04 17:56:14 +01:00
Pascal Jufer
cb87f44e76
docs: fix grammar/stylistic issues (#4534)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-11-28 13:37:07 +01:00
Maxim Mazurok
edb0d28fff
fix(spy) Fix: vi.spyOn() Compatibility with Google APIs (#3141) (#3670) 2023-11-24 09:35:55 +01:00
Vladimir
23652300d7
fix(vitest): improve vi.waitUntil type to excude falsy types (#4572) 2023-11-22 18:16:21 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Misha Kaletsky
183005e9c9
feat: improve expectTypeOf error messages (#4206)
Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-11-10 18:54:54 +01:00
Dunqing
8715e2cc83 chore: update needed type module 2023-11-10 13:24:26 +01:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +02:00
Vladimir
a1aadd713c
feat(vitest): run typecheck during tests (#4324) 2023-10-19 11:21:51 +02:00
Vladimir
a3dc47b038
feat!(snapshot): make snapshots more visually pleasing (#3961) 2023-09-27 10:27:32 +02:00
Vladimir
4c9a7d5840
fix(logger): print unhandled errors before summary (#3474) 2023-05-31 16:10:01 +02:00
Vladimir
a1da571470
fix(typecheck): show tsc errors not related to test files (#3441) 2023-05-24 17:45:30 +02:00
Ari Perkkiö
9fbb8d31b6
test: reduce usage of execa, add runVitest test utils (#3436) 2023-05-24 09:15:52 +02:00
Vladimir
c53ae0791a
fix(typecheck): correctly resolve custom tsconfig path (#3342) 2023-05-10 15:38:19 +02:00
btea
9d4472d06d
chore: update snapshot url (#3067) 2023-03-23 15:37:42 +01:00
Vladimir
26f915adc4
fix(typecheck): store tmp tsconfig close to original one (#2660)
* fix: store tmp tsconfig close to original one

* chore: use separate tsconfig

* chore: cleanup
2023-01-19 09:52:39 +01:00
Vladimir
9eeee0c8d8
refactor: make ids in typecheck suites more reliable, store errors in array (#2597)
* refactor: make ids in typecheck suites more reliable, store errors in array

* chore: cleanup

* Update packages/vitest/src/typecheck/typechecker.ts
2023-01-08 14:01:05 +01:00
renovate[bot]
d30e38c0ea
chore(deps): update all non-major dependencies (#2487)
* chore(deps): update all non-major dependencies

* chore: cleanup

* chore: cleanup

* chore: don't update source-map

* chore: update license

* chore: fix cause error

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-12-13 10:19:19 +01:00
Vladimir
7c7f33d5fc
feat: add typechecking functionality (#2107)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-11-07 23:49:15 +08:00