Karol Stawowski
cdfdb20cfa
docs: add bench command to cli documentation ( #2948 )
...
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-03-07 18:25:10 +01:00
Wonder Dai
1150f53571
docs: fix typo ( #2907 )
2023-03-07 18:24:32 +01:00
Carlo Beltrame
70fa4e86fd
docs(migration): mention "vi.importActual" ( #2927 )
2023-02-28 16:11:51 +01:00
Ari Perkkiö
895103ab0c
docs: align heading levels of object-like properties ( #2924 )
2023-02-27 13:59:37 +01:00
Vladimir Sheremet
796adc657d
docs: fix note
2023-02-25 09:35:39 +01:00
Vladimir
7bf54505a1
feat!: use child_process when --no-threads is used ( #2772 )
2023-02-25 09:10:31 +01:00
Ari Perkkiö
e165216356
feat(coverage): automatic threshold updating ( #2886 )
...
Closes #1241
2023-02-25 09:02:36 +01:00
Vladimir
af8de36215
feat: add an option to enable Vite optimizer ( #2912 )
2023-02-25 08:26:34 +01:00
Obada Khalili
610b1d46da
feat(spy): implement mock.withImplementation API ( #2835 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-02-24 20:23:20 +01:00
Christian Bromann
855047d511
docs: add WebdriverIO to framework comparison section ( #2894 )
2023-02-22 12:57:32 +01:00
Wenzhe Wang
65d71b9e97
fix: cleanup last mocked cache when call vi.doMock ( #2872 )
...
fix https://github.com/vitest-dev/vitest/issues/2870
2023-02-22 12:52:43 +01:00
Kristina Pchelintseva
20c1c849ac
docs: add information about built-in support for Vitest in JB IDEs ( #2865 )
2023-02-21 21:04:57 +01:00
Ari Perkkiö
f8176182da
feat(coverage): add support for coverage reporter options ( #2690 )
2023-02-21 18:02:54 +01:00
Joshua Nussbaum
8ab33f1e97
revert: "docs: add instructions for debugging tests via terminal" ( #2869 )
2023-02-21 15:03:09 +01:00
Tom Thumb
b67a5fbdf9
docs: update snapshot section to provide details on how to use with concurrent test ( #2733 )
...
Co-authored-by: Tom Thumb <github@asdfjkalsdfla.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-02-14 18:05:21 +01:00
Trivikram Kamat
9e03f2b8ad
docs: difference from jest in snapshots with custom messages ( #2863 )
...
Fixes https://github.com/vitest-dev/vitest/issues/2853
2023-02-14 13:12:16 +01:00
Ari Perkkiö
095c63907c
feat!: coverage-c8 to use V8 profiler directly instead of NODE_V8_COVERAGE ( #2786 )
2023-02-14 09:20:17 +01:00
Ari Perkkiö
81604bcee0
fix(coverage): custom providers to work inside worker threads ( #2817 )
2023-02-13 13:28:52 +01:00
Vladimir
62c4342075
feat: inject executor directly into runner ( #2858 )
2023-02-13 11:06:56 +01:00
Trivikram Kamat
8705e6b275
fix(expect): accept array index as number in toHaveProperty ( #2808 )
...
* test(expect): add toHaveProperty array index string
* test(expect): add toHaveProperty array index number
* fix: coerce key to string primitive in expect.toHaveProperty
* fix: accept string or number array in toHaveProperty property
* test: remove ts-expect-error from toHaveProperty test for array index number
* test: expect.toHaveProperty with object key '0'
* fix: snapshot for complex object in jest-expect.test.ts
* docs: expect.toHaveProperty deep referencing using an array containing the keyPath
2023-02-11 15:13:52 +01:00
btea
d53418450a
chore: update link attribute ( #2800 )
...
* chore: update link attribute
* chore: update
2023-02-11 14:07:58 +01:00
Cue
9a0002be7c
docs: fix broken links ( #2739 )
2023-02-11 13:47:57 +01:00
Tan Li Hau
445c7b3569
docs: fix broken links to vi ( #2832 )
2023-02-08 11:48:36 +01:00
Trivikram Kamat
c29f1761ec
docs: jest <29.0.0 has config printBasicPrototype set to true ( #2830 )
2023-02-08 11:37:11 +01:00
Lioness100
2f87505ffd
docs: fix typos ( #2815 )
2023-02-08 11:30:35 +01:00
Pascal Jufer
07a9faf3d7
docs: small typo regarding new 'basic' reporter ( #2738 )
2023-02-03 10:40:48 +01:00
Ari Perkkiö
c0f91beba4
docs(coverage): c8 ignore hints actually work ( #2755 )
2023-02-03 10:36:46 +01:00
IKoshelev
72cb4db1a3
docs: added hint to debug via JavaScript Debug Terminal ( #2653 )
...
Added description and screenshot how to debug Vitest tests with JavaScript Debug Terminal
2023-02-03 10:36:13 +01:00
Joaquín Sánchez
b666506f65
docs: add new team members ( #2715 )
2023-01-30 10:15:54 +01:00
Arek Tywonek
439c24365b
docs: typo ( #2757 )
2023-01-27 14:12:26 +01:00
Vladimir
3679cf25e5
feat: allow using atomics to communicate between threads ( #2758 )
2023-01-27 11:23:26 +01:00
Anthony Fu
a9878c515f
docs: add docs about environmentMatchGlobs ( #2750 )
...
* docs: add docs about `environmentMatchGlobs`
* Update docs/guide/environment.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-25 16:08:48 +01:00
Mohammad Kermani
8c625d2a10
docs(cli): suggest --run flag when using vitest related with lint-staged ( #2704 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-01-23 16:50:51 +01:00
Vladimir
482b72fc5f
feat!: move test runner into a separate package ( #2721 )
...
Closes https://github.com/vitest-dev/vitest/issues/1470
2023-01-23 10:14:50 +01:00
Vladimir Sheremet
a5ec633a00
docs: update deps.interopDefault section
2023-01-21 17:33:02 +01:00
Trim21
5df522f760
feat: add basic reporter which allow user to use reporter in ci ( #2612 )
...
* add basic reporter
* extend basic reporter
* Update index.md
* Update index.md
* extend from base reporter
* fix lint
* override onReRun
* only ovverride onWatcherRerun
* chore: cleanup
* add override back
* revert
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-01-21 14:18:22 +01:00
Joaquín Sánchez
da7e8d5378
docs: use @vite-pwa/vitepress ( #2684 )
...
* docs: use `@vite-pwa/vitepress`
* chore: update vite-pwa/vitepress version
2023-01-19 15:58:51 +01:00
mysteryven
8560758e83
docs: change link style and correct TypeScript ( #2709 )
2023-01-19 09:47:07 +01:00
Anjorin Damilare
46f744e53e
chore: add tsup and unbuild config to default excludes ( #2670 )
2023-01-19 09:45:04 +01:00
mysteryven
019a6d5791
fix: rerun tests, when setup file is edited ( #2625 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
fix https://github.com/vitest-dev/vitest/issues/2614
2023-01-16 16:39:14 +00:00
Vladimir
8b50123014
docs: split API into separate pages ( #2635 )
...
* docs: split API into separate pages
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-16 15:54:03 +01:00
Vladimir
2d90270473
docs: add fs-extra to docs dependencies ( #2681 )
2023-01-16 13:25:14 +01:00
guillaumeduboc
40187bdbbd
feat: add runAllTimersAsync from sinonjs ( #2209 )
...
close https://github.com/vitest-dev/vitest/issues/1804
2023-01-16 09:21:43 +01:00
Tomas Chmelevskij
6145d7bf0d
docs: typo ( #2663 )
2023-01-14 11:30:07 +01:00
Vladimir Sheremet
13e53ac7b3
fix: increase default teardownTimeout
2023-01-13 16:30:54 +01:00
Vladimir Sheremet
d622576485
docs: show Vladimir's sponsors
2023-01-12 13:07:46 +01:00
Robbe Claessens
2daf44af2e
docs: add describe.skipIf documentation ( #2558 )
...
* add describe.skipIf documentation
* Update index.md
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Robbe <robbe@dexxter.be>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-12 10:17:08 +01:00
Vladimir
94968a6f9c
feat: display running processes, if vitest closes with timeout ( #2633 )
...
* feat: display running processes, if vitest closes with timeout
* refactor: move hanging-process to reporter
* chore: cleanup
2023-01-11 17:31:01 +01:00
Vladimir
9b8afb204d
docs: add CLI arguments to config docs ( #2636 )
...
* docs: add CLI argu,ents to config docs
* chore: cleanup
* chore: cleanup
* Update docs/guide/cli.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-10 16:40:43 +01:00
Drew Powers
532cc11b0c
docs: add info to toThrowError ( #2447 )
...
#2262
2023-01-09 22:18:53 +01:00