Orleydo Vargas
90ffa6dc0f
docs: add different package managers installations ( #1980 )
...
* docs: Split 'Adding Vitest to your Project' options
make it easier to copy bash commands for each package manager
* docs: Split 'Adding Vitest to your Project' options
Make it easier to copy bash commands for each package manager
2022-09-08 11:34:25 +03:00
Simon McEnlly
f55fa26063
docs: add Wallaby.js to IDE Integration page ( #1977 )
...
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
2022-09-05 11:13:25 +03:00
Vladimir
e393be3414
feat: allow custom environments ( #1963 )
...
* feat: allow custom environments
* chore: linting
* chore: cleanup
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
* chore: cleanup
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
* chore: cleanup
* docs: cleanup
* docs: cleanup
* Update docs/guide/environment.md
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
Co-authored-by: Ivan Demchuk <ivan.demchuk@gmail.com>
2022-09-04 09:37:11 +03:00
Filip Tammergård
5c06494412
docs: update timer mocking section ( #1953 )
2022-09-02 13:53:11 +08:00
Jan Macku
11ed412f42
doc: fix option for updating snapshots ( #1936 )
2022-08-30 19:53:53 +08:00
Ari Perkkiö
265fdbe665
feat: support istanbul coverage provider ( #1676 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-16 02:21:02 +08:00
jereklas
ec37655115
feat: Add --no-color to cli ( #1849 )
2022-08-15 10:56:09 +08:00
jereklas
8eddd5a380
fix: handle undefined returns of module mocks, and update migration docs ( #1763 ) ( #1830 )
...
* handle undefined returns of module mocks, and update migration docs
* correct docs
2022-08-11 09:18:43 +03:00
Tanimodori
39b19cf0e6
docs: clarify how to use local test context ( #1829 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-10 16:57:45 +08:00
Vladimir Sheremet
0ae8e19b90
docs: clarify vitest related
2022-08-07 17:22:33 +03:00
Jan Müller
409aa45e57
feat: add option for ignoring unhandled errors ( #1678 )
2022-07-26 08:58:43 +03:00
Takumi Kamihara
eeaf734c7d
docs: fix the example for in-source testing unbuild confing ( #1698 )
2022-07-24 09:48:03 +03:00
Hamir Mahal
afa4965f07
docs: update snapshot information ( #1702 )
2022-07-24 09:47:50 +03:00
Joe Zimmerman
3ecc91ef98
docs: a few spelling/grammar fixes ( #1701 )
...
* Fix typos and enhance grammar.
* Merge branch 'main'
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-07-24 09:47:29 +03:00
Joe Zimmerman
7306994394
docs: typos ( #1686 )
2022-07-22 14:27:36 +08:00
Anthony Fu
88033bca99
feat: init @vitest/browser package ( #1302 )
...
Co-authored-by: Joaquín Sánchez Jiménez <joaquin.sanchez@fi2net.es>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: M. Bagher Abiat <zorofight94@gmail.com>
2022-07-20 03:37:45 +08:00
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