Kirt Rainford
f4cc7e18a0
docs: add link to coverage Config Reference page ( #2683 )
2023-04-27 12:55:32 +02:00
Ari Perkkiö
8d4606eb01
feat(watch): test run cancelling, feat: --bail option for cancelling test run ( #3163 )
2023-04-26 21:04:30 +02:00
Jerry Wang
97b1b4a36a
docs: fix typo ( #3247 )
2023-04-25 09:40:01 +02:00
Anjorin Damilare
b81ffd9017
docs: update workspace docs ( #3157 )
2023-04-12 21:07:47 +02:00
Chris
000bca9788
docs: update unocss link ( #3167 )
2023-04-11 09:56:38 +02:00
Vladimir
b9d1a97599
feat!: add workspace support ( #3103 )
2023-04-09 15:12:26 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies ( #2766 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
313032cdf9
fix: move "mergeConfig" into "vitest/config" and add extension to imports in the documentation ( #3139 )
2023-04-05 18:39:24 +02:00
Samuel Bodin
74b7ab005a
docs: update extend matcher ( #3123 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 18:38:04 +02:00
Mohammad Bagher Abiat
affc6d82d6
docs: add the motivation section for more context ( #3104 )
...
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 10:05:02 +02:00
Anthony Fu
bdc06dcbc4
feat(snapshot): introduce toMatchFileSnapshot and auto queuing expect promise ( #3116 )
2023-04-03 16:03:46 +02:00
Guo Xingjun
035230b497
docs: typo ( #3114 )
2023-04-02 09:48:10 +02:00
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff ( #2828 )
2023-03-29 14:16:52 +02:00
Mohammad Bagher Abiat
9dc6929380
feat: playwright as browser provider ( #3079 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-03-27 11:52:14 +02:00
Mohammad Bagher Abiat
280ad1ed9b
fix: spy on popup apis like alert ( #3076 )
...
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-26 10:05:12 +02:00
btea
8ac829e266
docs: update snapshot comment header ( #3062 )
2023-03-23 10:10:22 +01:00
Azri Kahar
051bb65719
docs: fix cac's dot notation reference link ( #3049 )
2023-03-21 09:03:47 +01:00
Azri Kahar
b0ce2325a7
docs: fix typo in browser mode guide ( #3050 )
2023-03-21 09:03:27 +01:00
Mohammad Bagher Abiat
9cdc8030d0
feat: webdriverio (+ custom providers) integration for browser mode ( #2999 )
...
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-03-20 14:37:23 +01:00
yoho
a768015e64
feat: support relative path in html report ( #2695 )
...
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-20 13:06:54 +01:00
Ari Perkkiö
63c62f9e6f
feat: --test-timeout CLI argument ( #3019 )
2023-03-18 21:55:54 +01:00
Ari Perkkiö
36087d1edf
fix: --inspect to work inside workers ( #2983 )
2023-03-15 20:44:15 +01:00
Wenzhe Wang
26265b3533
docs: add notes about migrating replaceProperty ( #2871 )
2023-03-07 18:26:56 +01:00
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
Carlo Beltrame
70fa4e86fd
docs(migration): mention "vi.importActual" ( #2927 )
2023-02-28 16:11:51 +01:00
Christian Bromann
855047d511
docs: add WebdriverIO to framework comparison section ( #2894 )
2023-02-22 12:57:32 +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
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ö
81604bcee0
fix(coverage): custom providers to work inside worker threads ( #2817 )
2023-02-13 13:28: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
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
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
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
mysteryven
8560758e83
docs: change link style and correct TypeScript ( #2709 )
2023-01-19 09:47:07 +01: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
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
Vladimir
7ae1417fff
feat: add more options to configure diff output ( #2522 )
...
* feat: add more options to configure diff output
* chore: add more tests for diff, cleanup
* docs: add `-` examples
* chore: cleanup
* chore: fix test and wrong "could not display diff"
* test: diff ignores undefined
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
* docs: add `--logHeapUsage` to docs
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-12-20 12:57:34 +03:00
yoho
b8f34eb8ca
feat: add html reporter based on Vitest UI ( #2444 )
...
* feat: vitest html report
* chore: copy ui to vitest dist
* feat: report copy ui dist
* feat: ui report version builder
* fix: copy file
* chore: remove
* feat: html metadata path
* feat: add declare
* feat: static file client
* feat: mock rpc
* fix: mock error
* chore: update meta
* chore: compress json
* chore: comment
* chore: update merge config
* chore: lock
* feat: remove all control command from ui
* chore: remove
* feat: report command
* feat: version tag
* chore: reset lock file
* feat: remove hooks
* chore: update
* fix: runningPromise
* chore: update debug mode and disable click on transform
* docs: report
* chore: remove the version mark
* feat: report
* fix: lint
* chore: copy ui from @vitest/ui
* chore: export report from ui
* chore: update
* fix: lint
* docs: ui html report
* feat: ensurePackageInstalled
* update
* feat: more info
* chore: improve documentation and tests
* chore: fix UI bundle size
* chore: ui tests
* perf: remove output report using the global variable to judge report mode
* chore: update
* fix: build
* fix: report
* fix: parse
* chore: fix html reporters test
* chore: don't store config in html reporter test
* chore: update ui docs
* feat: log
* chore: fix tests
* test: fix html reporter tests
* docs add vitest fo UI reporter
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2022-12-19 13:23:22 +03:00
Vladimir
b114d49f50
feat: introduce a native way to set env and globals ( #2515 )
...
* feat: introduce a native way to set env and globals
* chore: cleanup
* chore: cleanup
* chore: cleanup
* docs: cleanup
2022-12-16 16:19:17 +01:00
Anthony Fu
0967b24bc4
docs: links to video course
2022-12-15 02:10:10 +01:00
Ilya Golovin
0a78859a2b
docs: add articles, fix typo ( #2471 )
2022-12-09 08:52:21 +01:00
yoho
2657ce562a
docs: clarify installing globally ( #2397 )
...
* docs: install global
* chore: update
Co-authored-by: The Jared Wilcurt <TheJaredWilcurt@users.noreply.github.com>
* docs: npx help
* docs: update
* fix: error
Co-authored-by: The Jared Wilcurt <TheJaredWilcurt@users.noreply.github.com>
2022-12-05 15:29:40 +01:00
The Jared Wilcurt
6d75630fcc
docs: setting for coverage reports directory ( #2400 )
...
* Document setting the coverage reports directory
This took a lot of trial and error to get to work, so it should be documented to save other people the 2 hours of research it took me to get it working.
* Apply suggestions from code review
* Apply suggestions from code review
* Update docs/guide/coverage.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
* Update docs/guide/coverage.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-12-04 19:38:16 +01:00