Yixuan Xu
b947be48c3
feat: support edge runtime ( #1574 )
...
* feat: add edge-runtime environment
https://github.com/vercel/edge-runtime
* chore: apply code review
* chore: ci
* chore: ci
* chore: add @edge-runtime/vm to peerDependencies
* chore: lint
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Vladimir Sheremet <sheremet.va@icloud.com>
2022-07-02 09:51:26 +00:00
Anthony Fu
27a523bd59
docs: update layouting
2022-06-17 16:03:21 +08:00
Vladimir
68715b6e46
feat: add css config option, don't process CSS by default ( #1467 )
...
* feat: add processCss config option, don't process CSS by default
* refactor: css option is aligned with other simmilar options
* refactor: change is css regexp
* refactor: cleanup
* Update docs/config/index.md
Co-authored-by: Bartosz Gościński <bargosc@gmail.com>
* refactor: reverse filters in css
Co-authored-by: Bartosz Gościński <bargosc@gmail.com>
2022-06-14 18:45:34 +00:00
Vladimir
348a008857
feat: add maxConcurrency option ( #1483 )
2022-06-14 20:57:56 +03:00
Vladimir
0b639b1333
feat: introduce VITEST_POOL_ID ( #1473 )
...
* feat: introduce VITEST_POOL_ID
* fix: always increment worker id, pool id is always 1 in `--no-threads`
2022-06-13 18:39:29 +03:00
Dragomir Ivanov
0b8a5bc0d6
feat: new --ouputDiffLines cli flag ( #1446 )
...
* docs: add documentation for `--outputTruncateLength` cli flag
* feat: add `--outputDiffLines` cli flag
Use this flag in order to control how many lines are printed,
on each diff.
2022-06-08 18:41:01 +03:00
Vladimir Sheremet
24af3fe77d
docs: small fixes
2022-06-06 09:47:39 +03:00
Vladimir
fd57b0e507
feat(vite-node): respect ssr field, allow inlining everything ( #1434 )
2022-06-05 23:07:14 +08:00
Vladimir
3f5ff5b5b6
feat: improve watcher performance, add forceRerunTriggers option ( #1424 )
2022-06-05 22:53:14 +08:00
Vasilii Kovalev
31817087d2
docs: fix testNamePattern description ( #1425 )
2022-06-04 23:39:25 +08:00
Anthony Fu
6e6d63c537
docs: new theme ( #1416 )
2022-06-03 19:01:25 +08:00
Zixuan Chen
0ec0fc4185
docs: api default port should be 51204 ( #1307 )
2022-05-17 09:39:49 +08:00
Jeff
fbd47d0c3d
docs: fix some typos ( #1299 )
2022-05-12 18:04:59 +02:00
Vladimir
62cf5af67d
docs: add more info to config docs ( #1269 )
...
* docs: add more info to config docs
* docs: fix dead link
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-05-08 18:46:12 +08:00
Vladimir
dd3c5a1110
feat: allow passing passWithNoTests, allowOnly inside config ( #1264 )
2022-05-08 13:36:36 +08:00
Vladimir
2fcba95122
docs: add clarification about threads option ( #1247 )
2022-05-06 11:28:57 +02:00
Vladimir
9c42c4f31b
feat: add config option logHeapUsage ( #1225 )
2022-05-03 15:33:21 +08:00
Eric Gagnon
f2bceb2c28
feat: added support for passing a path to a custom reporter when usin… ( #1136 )
...
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-25 14:05:45 +00:00
steve-py96
a63cfa2e51
feat: extend config.outputFile to allow objects, close #1068 ( #1073 )
...
Co-authored-by: steve <steve.scheder@avenga.com>
2022-04-08 02:15:58 +08:00
Vladimir
5cc592be97
feat: add resolveSnapshotPath option ( #1101 )
2022-04-05 18:04:33 +08:00
Vladimir
3c965d4e80
feat: add commands to run tests depending on changed files ( #1078 )
2022-04-03 16:09:36 +08:00
Yoshiaki Togami
190b1c1937
feat: show more details when no test files found ( #1033 )
...
* chore: resolve conflict
* feat: show more details when test files not found
* chore: fix unit test
* chore: remove some dead code
* doc: fix example
* refactor: cleanup
* feat: show filters, if no files found and has filters
Co-authored-by: Vladimir Sheremet <sheremet.va@icloud.com>
2022-04-02 14:57:45 +03:00
alexzhang1030
725bc92529
docs: improve typescript setup explaination, close #1019 ( #1020 )
2022-03-24 23:57:53 +08:00
Vladimir
d959f28ca1
fix(vite-node): don't fallback to cjs by default ( #924 )
2022-03-17 07:00:24 +08:00
Anthony Fu
621300d0a0
chore: lint for md and json
2022-03-08 03:30:59 +08:00
Vladimir
a80ce42783
feat!: move config from vitest/node to vitest/config ( #799 )
2022-02-21 13:57:53 +08:00
Yoshiaki Togami
d419355eb5
docs: fix default value of hookTimeout ( #801 )
2022-02-19 19:49:08 +08:00
Anthony Fu
bb77e4f88a
fix(vite-node): external /dist/ by default
2022-02-18 21:27:26 +08:00
Vladimir
c98355aa65
fix: set mode before running Vite ( #775 )
2022-02-18 11:20:08 +08:00
Vladimir
b656f8dc37
feat: add VITEST_WORKER_ID env ( #774 )
2022-02-17 16:16:24 +08:00
Anthony Fu
1f9d5bc461
docs: update defineConfig usage
2022-02-16 17:54:08 +08:00
Rongjian Zhang
ce418c58c3
fix: move config related methods to 'vitest/node' ( #765 )
2022-02-16 17:48:13 +08:00
Vladimir
a70dcd3e9f
feat: export default config to expand it ( #702 )
...
Co-authored-by: Jan Müller <janmueller3698@gmail.com>
2022-02-09 21:45:40 +08:00
Benja Kugler
4d1601c7f3
docs: correct watch mode default ( #678 )
2022-02-04 13:30:46 +01:00
Jan Müller
aaa6df4b91
docs: escape dot to prevent parsing as url ( #632 )
...
Closes #617
2022-01-25 16:12:04 +01:00
Anthony Fu
53633b710b
fix: rename interpretDefault option to interopDefault
2022-01-19 04:23:59 +08:00
Haoqun Jiang
d428e1519e
docs: update exclude documentation to match the latest implementation ( #568 )
2022-01-18 08:17:55 +01:00
patak
22d2deda69
refactor: rename global to globals ( #565 )
2022-01-18 13:16:44 +08:00
Ivan Demchuk
2300ef8a8f
feat: add JUnit reporter ( #534 )
2022-01-16 09:47:35 +01:00
Cédric Exbrayat
1a8eb2668e
feat: reporter output file ( #512 )
2022-01-14 09:13:05 +08:00
Cédric Exbrayat
fc15d52dd5
feat: json reporter ( #489 )
...
Fixes #108
2022-01-12 14:37:05 +01:00
Vladimir
63ed7c1fca
feat: add snapshotFormat options
2022-01-11 11:54:58 +03:00
Dominik G
eaa119fd09
feat: global setup ( #372 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-10 18:14:03 +08:00
Vladimir
f1b5474aa2
feat: allow plugins to specify if they should be transformed ( #469 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-07 23:25:32 +08:00
patak
da0e44a2d6
docs: update config reference ( #339 )
2021-12-28 04:57:38 +08:00
patak-dev
adfb673816
docs: add reference to vitest types in config file
2021-12-27 16:56:35 +01:00
Narcis B
307585c6b3
docs: fix json code highlighting ( #257 )
2021-12-21 17:19:19 +01:00
patak-dev
2ece3a7479
docs: config note in getting started guide
2021-12-21 08:40:25 +01:00
Jake Ginnivan
b57c5c4e36
feat: add --passWithNoTests option ( #245 )
2021-12-21 12:33:02 +08:00
Narcis B
0748249371
docs: fix include type ( #242 )
2021-12-21 09:45:43 +08:00