318 Commits

Author SHA1 Message Date
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
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 Sheremet
856ac4c594 docs: fix editLink path 2022-06-22 13:13:34 +03:00
renovate[bot]
2a60557e2c
chore(deps): update all non-major dependencies (#1507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-21 15:22:19 +08:00
Anthony Fu
27a523bd59 docs: update layouting 2022-06-17 16:03:21 +08:00
Jeff
c8d61ed8e1
chore: update checkmark character (#1490)
Passing tests were using the square root character `√` (`\u221A`),
replaced this with the same glyph used in Vite's output: `✓` (`\u2713`).
2022-06-15 10:39:52 +03:00
Vladimir
68715b6e46
feat: add css config option, don't process CSS by default (#1467)
* feat: add processCss config option, don't process CSS by default

* refactor: css option is aligned with other simmilar options

* refactor: change is css regexp

* refactor: cleanup

* Update docs/config/index.md

Co-authored-by: Bartosz Gościński <bargosc@gmail.com>

* refactor: reverse filters in css

Co-authored-by: Bartosz Gościński <bargosc@gmail.com>
2022-06-14 18:45:34 +00: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
Vladimir
348a008857
feat: add maxConcurrency option (#1483) 2022-06-14 20:57:56 +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
hello there
36c39a56fc
docs: add mising async to resolves and rejects example (#1476) 2022-06-13 17:35:23 +03:00
Hannah Rauschel
fef00a7328
docs: fix typo in ui.md (#1466) 2022-06-12 12:05:22 +08:00
renovate[bot]
8cf498f3d4
chore(deps): update all non-major dependencies (#1437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-11 04:34:35 +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
24af3fe77d docs: small fixes 2022-06-06 09:47:39 +03:00
Kazuma Ebina
d25a3f243e
docs(api): typo (#1441) 2022-06-06 13:58:53 +08:00
Vladimir
fd57b0e507
feat(vite-node): respect ssr field, allow inlining everything (#1434) 2022-06-05 23:07:14 +08:00
Vladimir
3f5ff5b5b6
feat: improve watcher performance, add forceRerunTriggers option (#1424) 2022-06-05 22:53:14 +08:00
Vladimir Sheremet
d5a5bbc51d docs: fix UI link 2022-06-05 15:14:45 +03:00
Vasilii Kovalev
e8586caafc
docs: fix the example for test.fails function (#1429) 2022-06-04 21:11:51 +03:00
Vasilii Kovalev
31817087d2
docs: fix testNamePattern description (#1425) 2022-06-04 23:39:25 +08: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
6082b6942d chore: fix doc search 2022-06-04 02:19:42 +08:00
Anthony Fu
d742bfd5cb chore: fix avatars 2022-06-03 19:59:09 +08:00
Anthony Fu
851c5ad4a0 chore: increase logo size 2022-06-03 19:12:20 +08:00
Anthony Fu
6e6d63c537
docs: new theme (#1416) 2022-06-03 19:01:25 +08:00
renovate[bot]
ed0ec24f53
chore(deps): update all non-major dependencies (#1396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 02:52:06 +08:00
Anthony Fu
c1d1903986 chore: fix docs build 2022-05-29 15:23:46 +08:00