352 Commits

Author SHA1 Message Date
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
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
Vladimir
7c2138f2b0
feat: add alias option (#1634)
* chore: fix typeof check in error

* feat: add alias option

* Update test/core/vitest.config.ts
2022-07-19 17:44:21 +03:00
Jan Müller
b653409dee
docs(api): add missing method documentation (#1681)
* docs: add missing method documentation

Document `clearAllMocks`, `resetAllMocks` and `restoreAllMocks`.

Closes #1355

* docs(api): fix heading order
2022-07-19 17:39:55 +03:00
renovate[bot]
b181772c5e
chore(deps): update all non-major dependencies (#1556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 23:07:54 +08:00
Anthony Fu
7d349943be
chore: update deps (#1642) 2022-07-15 08:30:09 +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
Anthony Fu
a17a17465e chore: typo 2022-07-07 16:41:10 +08:00
josef
f7aacb20a4
docs: typo (#1608) 2022-07-07 02:57:19 +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
Paul Eboselume
a664851e31
docs: fix typos (#1601) 2022-07-05 20:01:25 +03: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
Paul Eboselume
2a880781fd
docs: fix typos (#1596) 2022-07-04 20:00:15 +03:00
Vladimir
05410f83e7
docs: add link to VIte options (#1589) 2022-07-04 13:17:11 +08: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
Yixuan Xu
b947be48c3
feat: support edge runtime (#1574)
* feat: add edge-runtime environment

https://github.com/vercel/edge-runtime

* chore: apply code review

* chore: ci

* chore: ci

* chore: add @edge-runtime/vm to peerDependencies

* chore: lint

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Vladimir Sheremet <sheremet.va@icloud.com>
2022-07-02 09:51:26 +00:00
Ismail Lounane
1bbe5b9cff
docs: typo (#1569) 2022-06-29 18:50:48 +08:00
Vladimir
edbf90785e
feat: add vite 3 support (#1561) 2022-06-27 16:24:14 +02:00
Chris Towles
2244c1779c
docs: remove unsed background images (#1558) 2022-06-27 09:31:08 +03:00
Joaquín Sánchez
ea02834aff
docs: use VPTeamMembers component from VitePress (#1547) 2022-06-27 03:20:57 +08:00
Vladimir
3320ecaa39
docs: add information about asymmetric matchers (#1551) 2022-06-26 13:11:53 +08:00