344 Commits

Author SHA1 Message Date
Vladimir
7b2f64cfa3
feat: implement module mocking in browser mode (#5765) 2024-05-31 11:19:38 +02:00
Vladimir
b24691efdb
feat: allow augmenting config.test.env (#5784) 2024-05-29 17:29:23 +02:00
Vladimir
b881e88b23
fix: remove browser.fileParallelism (#5790) 2024-05-29 17:28:56 +02:00
Vladimir
a50330eea2
feat: add browser.ui option (#5771) 2024-05-24 16:24:10 +02:00
Vladimir
6598fba55b
docs: remove version badges (#5727)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-05-15 08:44:37 +02:00
Vladimir
aa431f4db6
feat(browser): add commands to communicate betweens server and the browser (#5097) 2024-05-14 19:17:15 +02:00
Ari Perkkiö
7f8f9c0c05
fix!: change default pool to 'forks' (#5047) 2024-05-09 17:24:35 +02:00
patak
d7371eae33
feat!: remove watchExclude (#5177) 2024-05-09 14:40:22 +02:00
Ari Perkkiö
31994942f7
feat!: enable coverage.ignoreEmptyLines by default (#5543) 2024-05-07 11:30:10 +02:00
Hiroshi Ogawa
f8d3d22e3b
feat(benchmark): support comparing benchmark result (#5398)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-05-03 17:00:38 +02:00
Vladimir
21e58bd890
feat(browser): allow injecting scripts (#5656) 2024-05-03 16:00:59 +02:00
Vladimir
30f728bc1a
feat: custom "snapshotEnvironment" option (#5449) 2024-05-03 10:21:03 +02:00
MindfulPol
bfe8ad9d51
fix(coverage): exclude *.test-d.* by default (#5634) 2024-04-30 19:50:45 +03:00
Vladimir
d7fa5cde6f
docs: add a warning about aliasing (#5618) 2024-04-25 11:19:50 +02:00
Vladimir
23f29cea64
fix: always run onTestFinished in reverse order (#5598) 2024-04-23 16:45:26 +02:00
Vladimir
f2066c4e15
docs: improve "provide" documentation (#5554) 2024-04-16 14:34:53 +02:00
Willie Ho
6797b0412b
feat: add configuration for diff truncation (#5073) (#5333) 2024-04-05 13:03:46 +02:00
Ari Perkkiö
10b89713d2
feat(coverage): v8 to ignore empty lines, comments, types (#5457) 2024-04-05 12:59:56 +02:00
Hiroshi Ogawa
2e8e05e642
docs: add default for fakeTimers.toFake (#5197)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-03-26 15:28:19 +01:00
Han
ab25a52664
docs: update onConsoleLog return type (#5391) 2024-03-16 11:49:43 +01:00
Han
d7e8b53ed0
feat(config): deprecate cache.dir option (#5229) 2024-03-15 10:37:58 +01:00
Ari Perkkiö
07ec3779ab
fix(coverage): prevent reportsDirectory from removing user's project (#5376) 2024-03-14 16:25:36 +01:00
Vladimir
d627e209dd
feat: add a flag to include test location in tasks (#5342) 2024-03-14 15:54:40 +01:00
Han
356db87b71
feat(config): add shuffle.files and shuffle.tests options (#5281) 2024-03-14 15:50:03 +01:00
Maximiliano Kazanski
b48586b51c
docs: fix links and badges error (#5239) 2024-02-20 14:19:33 +01:00
Arya Emami
2f755f0b12
docs: fix defaults in JSDocs to be more accurate (#5196)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-02-20 14:06:01 +01:00
patak
828858f861
feat: deprecate watchExclude (#5171) 2024-02-12 13:16:34 +01:00
Vladimir
e1bd8d5dc9
fix(vitest): disable optimizer by default until it's stable (#5156) 2024-02-12 11:40:45 +01:00
Vladimir
38f79321d0
docs: add team emeriti and update the sidebar and navigation (#5169)
Co-authored-by: userquin <userquin@gmail.com>
2024-02-12 09:44:22 +01:00
Vladimir
4e17942639
feat(vitest): add new CLI options (#5163) 2024-02-10 11:53:41 +01:00
Vladimir
0f898d87fb
fix(vitest): add types for the new global jsdom variable (#5164) 2024-02-09 12:58:06 +01:00
renovate[bot]
7a31a1ae42
chore(deps): update dependency @antfu/eslint-config to v2 (#5153) 2024-02-08 17:33:12 +01:00
Vladimir
567d20b99f
feat(vitest): expose jsdom global if jsdom environment is enabled (#5155) 2024-02-08 15:03:17 +01:00
Vladimir
4f40177e06
feat(browser): run test files in isolated iframes (#5036) 2024-02-07 12:18:02 +01:00
Han
5b1021daf7
feat(config): add snapshotSerializers option (#5092) 2024-02-06 13:21:34 +01:00
Hiroshi Ogawa
4a821b85d8
docs: replace old --threads flag references (#5099)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2024-02-05 12:59:28 +01:00
Vladimir
3ca31749ed
refactor: make a standard API to run tests inside a worker (#4441) 2024-01-12 14:44:40 +01:00
Ari Perkkiö
96dc6e9aaf
feat(coverage): custom reporter support (#4828) 2024-01-12 14:25:43 +01:00
Ari Perkkiö
e9fe41811d
fix(workspace): support overring pool and poolOptions on project level (#4765) 2024-01-09 15:43:50 +01:00
Vladimir
7ca786570d
docs: use Badge to display versions (#4823) 2024-01-02 13:03:29 +01:00
Vladimir
578db5e33a
docs: add "improving performance" to guide list (#4779) 2023-12-28 16:53:17 +01:00
Josef Friedrich
1877d328a0
docs: fix no overload matches this call. (#4801) 2023-12-28 15:34:11 +01:00
Vladimir
4d55a026d2
feat: add --no-isolate flag to improve performance, add documentation about performance (#4777)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-19 12:57:03 +01:00
Vladimir
fd5d7e66e4
feat: add --no-file-parallelism, --maxWorkers, --minWorkers flags (#4705)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-12-19 11:35:22 +01:00
Hiroshi Ogawa
71911039c3
fix(ui): fix coverage iframe url for html report preview (#4717) 2023-12-19 11:34:27 +01:00
Vladimir
67d93eda66
feat: add --workspace option, fix root resolution in workspaces (#4773)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-12-19 11:34:11 +01:00
btea
f35e2c755c
refactor: replace os.cpus with os.availableParallelism (#4639) 2023-12-04 16:10:54 +02:00
_Kerman
ceca93dc6d
docs: os.cpu() should be os.cpus() (#4634) 2023-12-01 16:57:31 +02:00
Ari Perkkiö
4166c413ba
fix(coverage): improve memory usage by writing temporary files on file system (#4603) 2023-11-28 19:30:59 +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