374 Commits

Author SHA1 Message Date
Vladimir
f00a1ac228
docs: add information about benchmarking (#2001) 2022-09-10 15:54:55 +08:00
Kid
0c2e323ee1
docs: fix vi.fn signature (#2014) 2022-09-09 10:49:30 +03:00
Jon Musselwhite
8cd7def43e
docs: correct jsdom typo (#2011)
I tested `jsdon` to confirm it does not work. When I tried it, I was prompted to install undefined. It does work when the value is `jsdom` so I made that change here.

Perhaps there should be some error handling for when an unknown environment is specified rather than letting it attempt to install undefined?
2022-09-09 10:48:57 +03:00
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
Yue JIN
08feae1eea
docs: fix contrast between lang name and code block (#1996) 2022-09-08 00:36:37 +08:00
renovate[bot]
69d55bc19c
chore(deps): update all non-major dependencies (#1975)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 14:00:50 +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
Marshall Thompson
a98c845487
docs: grammar (#1974)
grammar fix
2022-09-05 09:57:13 +08:00
yoho
43ba8723a6
feat: benchmark (#1029)
* feat: benchmark

* feat: console result

* chore: lockfile

* chore: rebase

* chore: lock.yaml

* chore: pnpm lock yaml

* chore: update

* feat: collect benchmark

* chore: benchmark use suite collect bench

* chore: run

* chore: lock.yaml?

* feat: render

* chore: revert lock.yml

* chore: update

* feat: options.reports

* chore: update

* chore: async

* chore: defer

* chore: add options

* feat: warn

* chore: update

* feat: sort render

* chore: update

* chore: pnpm lock

* fix: import

* fix: types

* fix: types

* chore: build location

* fix: lint

* fix: lint

* feat: tinybench@2.1.3

* chore: update lock

* chore: reduce benchmark test time

* fix: render

* chore: rename

* feat: dynamic import tinybench

* chore: update

* chore: update sort rules

* feat: bench test

* chore: update test

* chore: update

* feat!: run mode

* feat: throw error on wrong mode

* chore: lint

* chore: cleanup

* chore: update output

* chore: remove options.benchmark is not used in viteConfig.test when command is not benchmark

* chore: update ops/sec

* feat: json reporter

* chore: ignore sample output on terminal

* chore: update

* chore: update

* fix: actually run tests

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2022-09-04 14:55:44 +03:00
Anthony Fu
456079ea73
feat: introduce retry option for tests (#1929) 2022-09-04 10:53:43 +03:00
Vladimir
f32383a3ef
feat!: if not processed, CSS Modules return a proxy, scope class names by filename (#1803) 2022-09-04 10:53:09 +03:00
Ari Perkkiö
5bfd3c9a40
feat(coverage-istanbul): add "all" option (#1880) 2022-09-04 10:41:54 +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
vaakian X
35bb461b6e
docs: fix missing word (#1949) 2022-09-01 13:31:49 +03:00
Jan Macku
11ed412f42
doc: fix option for updating snapshots (#1936) 2022-08-30 19:53:53 +08:00
Anthony Fu
ae8fcc79f2 chore: remove team page workaround 2022-08-29 22:19:40 +08:00
renovate[bot]
a5d1ef498b
chore(deps): update all non-major dependencies (#1895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-29 05:21:53 +00:00
Ctibor Laky
4635c665d4
docs: guide of extending vite config (#1874)
Co-authored-by: Ctibor Laky <laky@efabrica.sk>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-23 16:16:09 +08:00
renovate[bot]
14279d53e8
chore(deps): update all non-major dependencies (#1852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 04:45:57 +08:00
Lioness100
f13e54f096
chore: fix typos (#1857)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-15 18:38:15 +00: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
Anthony Fu
3deb25bd52 chore: upgrade esno 2022-08-15 17:32:20 +08:00
Anthony Fu
b70593955f
chore: update deps (#1853) 2022-08-15 15:13:37 +08:00
jereklas
ec37655115
feat: Add --no-color to cli (#1849) 2022-08-15 10:56:09 +08:00
Sanjaiyan Parthipan
131420510c
docs: update theme-color (#1813)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-13 10:23:06 +08:00
Mike Wheaton
136b5c1993
docs: typo (#1846) 2022-08-13 09:57:32 +08:00
Dragomir Ivanov
10232f3f5b
docs: improve (describe|test).only description (#1826)
* docs: improve (describe|test).only description

* Apply suggestions from code review

Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2022-08-11 09:22:10 +03: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
Marco Muser
ccbf0adf73
docs: fix tiny typo on landing page (#1815)
* Fix typo on landing page

* Update docs/index.md

Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>

Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-08-08 18:11:38 +03:00
renovate[bot]
9e3cac4d74
chore(deps): update all non-major dependencies (#1820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 09:23:07 +03:00
Vladimir Sheremet
0ae8e19b90 docs: clarify vitest related 2022-08-07 17:22:33 +03:00
Vladimir
5141e0b9ba
feat: allow using todo/skip/concurrent with each (#1802) 2022-08-05 19:07:58 +03:00
Vladimir
155943c5b6
feat: treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default (#1778)
* feat: treat pseudo ESM as ESM

* chore: remove empty main fields

* chore: cleanup

* chore: disable node loader by default

* chore: cleanup

* chore: register loader for esm test

* chore: don't disable loader for now

* chore: revert

* chore: cleanup

* chore disable node loader by default

* chore: disable Node Loader tests
2022-08-05 18:43:42 +03:00
Anthony Fu
be080da165 chore: fix docs build 2022-08-02 15:33:15 +08:00
jfrs
c18f0af542
feat(types): add partial flag to mocked TypeScript helper (#1739) (#1742)
Co-authored-by: jfrs <jfrs@jfrs.me>
2022-08-02 10:11:55 +03:00
Vladimir
0e62002982
refactor: update Enzym example, upgrade Vue plugin (#1755) 2022-08-02 15:07:32 +08:00
Anthony Fu
de3910bfeb docs: enable sponsor for @sheremet-va 2022-08-02 15:06:19 +08:00
renovate[bot]
96e70f46c7
chore(deps): update dependency vite to v3 (#1761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-02 09:21:35 +03:00
renovate[bot]
80cef1d404
chore(deps): update dependency @vueuse/core to v9 (#1760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-02 09:21:08 +03:00
renovate[bot]
ea9f8b8957
chore(deps): update all non-major dependencies (#1661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-31 14:37:08 +03:00
Vladimir
40e4dba6a8
feat: add deps.registerNodeLoader option (#1751) 2022-07-31 14:05:57 +03:00
Vladimir Sheremet
30e03f1cc2 chore: lint 2022-07-31 13:56:27 +03:00
Vladimir Sheremet
4ca824e867 docs: update contributors 2022-07-31 13:49:22 +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
Krishnan Chandra
003c87f018
feat: make close timeout configurable (#1697)
* Update pnpm lock file

* Add teardownTimeout setting

* Add documentation to index.md

* Restore pnpm-lock to original version
2022-07-22 20:38:50 +03:00