Joaquín Sánchez
235cfa7eea
docs: add section title in guide pages ( #1583 )
2022-07-15 00:28:28 +08:00
Vladimir
5b837f9472
docs: improve wording in mocking cheat sheet ( #1617 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-09 15:22:21 +08:00
Vladimir
5d0dfe9c6d
feat: make sequencer public, add option to run tests in random order ( #1582 )
...
* feat: make sequencer public, add random option
* test: cleanup
* chore: add random option to suite
* chore: cleanup
* chore: cleanup
* chore: cleanup
* chore: cleanup
* chore: cleanup
* chore: rename random -> shuffle
* Apply suggestions from code review
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
* Update docs/config/index.md
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-06 10:08:22 +00:00
Elliot Westlake
40fc526e55
feat: check related against forceRerunTriggers ( #1595 )
...
* feat: check related against forceRerunTriggers
* chore: fix lock
* check length of micromatch
* add execa
* add force-rerun tests and vitest config
* update docs
* watch false on related
* typo
* linting
* fix lock and add timeout to tests
* add defaults to forceRerunTriggers
* chore: remove dist from forceRerunTriggers
* Wording
Co-authored-by: Vladimir Sheremet <sheremet.va@icloud.com>
2022-07-05 08:04:09 +00:00
Vladimir
9c60757280
feat: add caching to run failed and longer tests first ( #1541 )
...
* feat: add caching to run failed and longer tests first
* chore: cleanup
* chore: add clearCache
* chore: update lockfile
* chore: add filesCache
* refactor: add sequelizer
* chore: lockfile
* refactor: renaming
* chore: dont override version
* chore: fix clearCache
* chore: guard slice
* chore: cleanup
* docs: cleanup
* chore: cleanup
* chore: remove command for now
* refactor: cleanup
2022-07-03 15:18:39 +03:00
Vladimir
adf82b3f68
docs: add mocking cheat sheet ( #1536 )
...
* docs: add mocking cheat sheet
* docs: fix modules mocking example
2022-06-24 13:28:56 +00:00
Vladimir
7546f2986e
docs: add more differences in jest migration guide ( #1526 )
...
* docs: add more differencec in jest migration guide
* docs: add more info
2022-06-24 16:23:56 +03:00
Vladimir
805c0ba6f8
feat: add --shard command ( #1477 )
...
* feat: add --shard command
* chore: increase timeout for shard tests
* chore: use relative path for spec
* chore: add try/catch to plugin
2022-06-14 20:58:12 +03:00
Zing
2e16fb90f6
chore: typo ( #1480 )
2022-06-14 11:07:29 +08: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
Hannah Rauschel
fef00a7328
docs: fix typo in ui.md ( #1466 )
2022-06-12 12:05:22 +08:00
Hubert Stärk
f0c24e0180
chore: typo ( #1454 )
2022-06-09 16:25:21 +08: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
d5a5bbc51d
docs: fix UI link
2022-06-05 15:14:45 +03:00
Anthony Fu
ad6e26f52d
docs: coverage and UI
2022-06-04 17:00:25 +08:00
Anthony Fu
726fa66e98
docs: note about image snapshot
2022-06-04 16:26:48 +08:00
Anthony Fu
7859f1a3af
docs: snapshot
2022-06-04 05:27:08 +08:00
Anthony Fu
5679a2a24d
docs: improve snapshot docs
2022-06-04 05:09:45 +08:00
Libing Chen
30306eec3a
docs: add WebStorm plugin support for Vitest ( #1422 )
2022-06-04 04:35:44 +08:00
Anthony Fu
6e6d63c537
docs: new theme ( #1416 )
2022-06-03 19:01:25 +08:00
Anthony Fu
aa484996dd
docs: add note
2022-05-29 12:10:08 +08:00
zhengqbbb
d595e08b65
docs: add cz-git using vitest ( #1351 )
2022-05-29 12:07:41 +08:00
Zac Hayes
ddd4a9552a
docs(mocking): fix Timers example ( #1333 )
2022-05-20 16:50:33 +08:00
PY
856db8d8b2
docs: add tdesign to projects using Vitest ( #1311 )
2022-05-15 15:06:44 +08:00
Luis Martinez Suarez
c3fef1a3e9
docs: fix mock return value ( #1303 )
2022-05-13 20:29:29 +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
4acd70552a
docs: remove "mocking globals" from migration guide ( #1267 )
2022-05-08 09:14:57 +00:00
Vladimir
5750cf0d0f
docs: add vue snapshot section in migration guide ( #1265 )
2022-05-08 13:33:10 +08:00
Vladimir
93422cb2fb
docs: add more expects and guides ( #1236 )
2022-05-05 23:35:43 +08:00
Anthony Fu
469e95df56
docs: ide
2022-04-25 22:33:03 +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
Anthony Fu
4f198ef284
feat: test context ( #900 )
...
* feat: support concurrent snapshot
* feat: cleanup callback for `beforeAll` and `beforeEach`
2022-04-25 21:52:25 +08:00
Anthony Fu
f741c7e6fb
docs: restrcture
2022-04-25 20:28:56 +08:00
Anthony Fu
713c870a55
chore: lint
2022-04-25 19:44:30 +08:00
lexmin0412
cdf61b2ec9
docs: add missing imports ( #1186 )
2022-04-25 01:03:13 +08: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
canyonwan
c4d1151fb3
docs: update features.md ( #1114 )
2022-04-06 15:34:19 +02:00
Filip Tammergård
aa740c96c1
docs: add missing word in threads section ( #1093 )
2022-04-03 21:05:18 +02:00
Vladimir
3c965d4e80
feat: add commands to run tests depending on changed files ( #1078 )
2022-04-03 16:09:36 +08:00
Vladimir
15829489eb
feat: stubGlobals helper ( #1079 )
2022-04-03 00:10:50 +08:00
Anthony Fu
2d662ec2a0
fix: remove depercated global option in favor of globals ( #970 )
2022-03-29 17:38:45 +08:00
Konrad Kügler
329f9ca34d
docs: Add IntelliJ debug instructions ( #1018 )
...
* docs: Add IntelliJ debug instructions
The `--threads false` part is important, because the debugger
otherweise halts all worker threads upon start.
One would have to manually let those continue, which is quite annoying.
* docs: Add IntelliJ debug instructions
Switch to slashes for cross-platform compatibility.
2022-03-24 23:12:49 +08:00
Zixuan Chen
c9b49b79ff
docs: update doc on option.outputFile ( #999 )
2022-03-22 12:18:04 +08:00
Anthony Fu
00a1763401
docs: update about in-source testing
2022-03-22 08:28:30 +08:00
Yoshiaki Togami
18a9930578
docs: improve options list ( #975 )
2022-03-18 22:38:00 +08:00
Joaquín Sánchez
2b8d1a179f
docs: add iconify to the projects using Vitest ( #936 )
2022-03-14 21:35:22 +01:00
Lukas
6262c292a2
docs: fix link to global configuration ( #929 )
2022-03-12 20:52:02 +01:00
Anthony Fu
621300d0a0
chore: lint for md and json
2022-03-08 03:30:59 +08:00
Anthony Fu
54e68c4cbb
docs: update
2022-03-07 23:39:06 +08:00