280 Commits

Author SHA1 Message Date
Vladimir
2e6aa6475f
fix(vitest): clarify slowTestThreshold, print slow tests in non-TTY mode (#6715) 2024-10-15 14:30:10 +02:00
Kamontat Chantrachirathumrong
c4076e64cf
docs: update invalid link (#6698) 2024-10-13 10:41:41 +09:00
Vladimir
502ecbfea8
docs: mention that the browser mode uses 63315 port (#6691) 2024-10-11 17:46:07 +02:00
Arya Emami
11b9432eca
docs: update the default browser.provider (#6673) 2024-10-09 22:20:06 +02:00
Ari Perkkiö
88bde99cda
fix(coverage): cleanOnRerun: false to invalidate previous results (#6592) 2024-10-02 09:54:43 +02:00
Hiroshi Ogawa
891d6fe57c
docs: deprecate benchmark.outputFile option (#6591) 2024-09-30 17:45:31 +02:00
Steve Axtmann
e6730909b3
docs(config): fix spelling mistake (#6578) 2024-09-26 12:12:41 +02:00
Ari Perkkiö
f8ff76a95e
fix(coverage): include *.astro by default (#6565) 2024-09-25 09:12:41 +03:00
Vladimir
86017585ef
docs: replace reference types="vitest" with vitest/config (#6325) 2024-08-12 16:47:38 +02:00
Ari Perkkiö
8c0a513b1e
docs: version for coverage.thresholds.<glob>.100 (#6196) 2024-08-12 16:14:38 +02:00
Ari Perkkiö
5932a7f988
feat(coverage): add --exclude-after-remap (#6309) 2024-08-12 16:05:53 +02:00
Gabrijel Škoro
6e06278280
docs: updating a typo property name inside css.modules (#6315) 2024-08-09 17:19:19 +02:00
Vladimir
4409d779db
feat(vitest): add "provide" option (#6253) 2024-08-09 15:15:00 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Tim Weißenfels
c72506b1a3
docs: Fix grammar error in browser config documentation (#6261) 2024-08-02 10:18:49 +02:00
Vladimir
57d23cec43
docs: fix inconsistencies, remove low informative twoslash examples (#6200) 2024-07-23 14:52:21 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Thor Juhasz
f68453f891
feat(coverage): add thresholds.<glob>.100 option (#6174)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 17:20:00 +03:00
Thor Juhasz
02e3f00370
fix(coverage): global thresholds to include files from glob thresholds (#6172)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-07-21 16:51:19 +03:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Sung Ye In
b1a27d4049
feat(config): allow percentage value for workers option (#5982) 2024-07-01 13:52:45 +02:00
Joaquín Sánchez
50130bdb59
docs: split browser page (#5988)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-01 13:51:59 +02:00
Ari Perkkiö
169bc1fde4
fix(coverage): support overriding exclude (#5997) 2024-07-01 09:20:17 +02:00
Joaquín Sánchez
b9fb92cbb8
docs(config): include html reporter auto-enable in includeTaskLocation (#5985) 2024-06-27 16:03:50 +02:00
Joaquín Sánchez
7ec298eb37
feat(ui): add action to explorer item to show the test/suite line in the source code tab (#5948)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2024-06-27 14:47:31 +02:00
Vladimir
154cb22de6
feat(browser): add an option to take screenshots if the browser test fails (#5975) 2024-06-25 22:04:55 +02:00
Vladimir
486fd1169a
fix(types): mark pool options as not available in project config (#5934) 2024-06-20 14:15:38 +02:00
Vladimir
3a96a3d0e8
feat(browser): introduce expect.dom method and bundle jest-dom matchers with @vitest/browser (#5910) 2024-06-20 13:08:02 +02:00
Vladimir
4dbea4aed1
feat(browser): implement several userEvent methods, add fill and dragAndDrop events (#5882) 2024-06-18 13:29:49 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Vladimir Sheremet
a663c7b5c8
docs: add info about the cache directory 2024-06-11 18:01:06 +02:00
Vladimir
49f34ec477
feat!: rename indexScripts to orchestratorScripts (#5842) 2024-06-04 14:35:28 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
Vladimir
e4fe6f51a0
feat: add an option to print console stack trace (#5720) 2024-05-31 15:29:54 +02:00
Vladimir
fc53f56344
feat: allow configuring expect options in the config (#5729) 2024-05-31 15:09:11 +02:00
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