250 Commits

Author SHA1 Message Date
木荣
dfd4fc314c
docs: fix api/toThrowErrorMatchingSnapshot & api/toThrowErrorMatchingInlineSnapshot hyperlink (#1268) 2022-05-08 09:29:32 +00:00
Vladimir
4acd70552a
docs: remove "mocking globals" from migration guide (#1267) 2022-05-08 09:14:57 +00:00
Vladimir
dd3c5a1110
feat: allow passing passWithNoTests, allowOnly inside config (#1264) 2022-05-08 13:36:36 +08:00
Vladimir
5750cf0d0f
docs: add vue snapshot section in migration guide (#1265) 2022-05-08 13:33:10 +08:00
Anthony Fu
3220d35e22 chore: downgrade pathe 2022-05-08 05:17:37 +08:00
Anthony Fu
29c8cee5c4 chore: update deps 2022-05-08 04:51:58 +08:00
Vladimir
2fcba95122
docs: add clarification about threads option (#1247) 2022-05-06 11:28:57 +02:00
Vladimir
93422cb2fb
docs: add more expects and guides (#1236) 2022-05-05 23:35:43 +08:00
renovate[bot]
1c7c733b79
chore(deps): update all non-major dependencies (#1227)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 19:29:18 +08:00
Vladimir
9c42c4f31b
feat: add config option logHeapUsage (#1225) 2022-05-03 15:33:21 +08:00
Anthony Fu
657225563d chore: lint 2022-05-03 09:28:45 +08:00
Anthony Fu
8c449252e8 chore: update deps 2022-05-03 05:20:44 +08:00
Anthony Fu
76c389497c feat: test.skipIf and test.runIf apis 2022-05-02 23:48:14 +08:00
Anthony Fu
469e95df56 docs: ide 2022-04-25 22:33:03 +08:00
Anthony Fu
4963139684 docs: fix guide entry 2022-04-25 22:09:54 +08:00
Eric Gagnon
f2bceb2c28
feat: added support for passing a path to a custom reporter when usin… (#1136)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-25 14:05:45 +00:00
Anthony Fu
4f198ef284
feat: test context (#900)
* feat: support concurrent snapshot
* feat: cleanup callback for `beforeAll` and `beforeEach`
2022-04-25 21:52:25 +08:00
Anthony Fu
f741c7e6fb docs: restrcture 2022-04-25 20:28:56 +08:00
Anthony Fu
f99e043ab4 chore: update lock 2022-04-25 20:14:27 +08:00
Anthony Fu
39d02f6f1d chore: update apis 2022-04-25 20:09:27 +08:00
Anthony Fu
713c870a55 chore: lint 2022-04-25 19:44:30 +08:00
lexmin0412
cdf61b2ec9
docs: add missing imports (#1186) 2022-04-25 01:03:13 +08:00
renovate[bot]
4d1e0a0ed1
fix(deps): update all non-major dependencies (#1159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 22:25:34 +08:00
renovate[bot]
40c26ed3b8
chore(deps): update all non-major dependencies (#1137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 07:53:43 +08:00
steve-py96
a63cfa2e51
feat: extend config.outputFile to allow objects, close #1068 (#1073)
Co-authored-by: steve <steve.scheder@avenga.com>
2022-04-08 02:15:58 +08:00
Vladimir
eb13d34c0a
feat: add vi.resetModules (#1102) 2022-04-07 02:49:43 +08:00
canyonwan
c4d1151fb3
docs: update features.md (#1114) 2022-04-06 15:34:19 +02:00
Vladimir
5cc592be97
feat: add resolveSnapshotPath option (#1101) 2022-04-05 18:04:33 +08:00
renovate[bot]
16684b2ae2
chore(deps): update all non-major dependencies (#1094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 10:56:54 +08:00
Filip Tammergård
aa740c96c1
docs: add missing word in threads section (#1093) 2022-04-03 21:05:18 +02:00
Cphayim
48a82ed6cf
docs: fix a typo (#1090) 2022-04-03 20:47:07 +08:00
Vladimir
668015277f
fix: typescript allows new Spy, add lastCall support for spy (#1085) 2022-04-03 18:41:03 +08:00
Anthony Fu
db824cf434 chore: apply lint 2022-04-03 16:35:29 +08:00
Vladimir
3c965d4e80
feat: add commands to run tests depending on changed files (#1078) 2022-04-03 16:09:36 +08:00
Vladimir
15829489eb
feat: stubGlobals helper (#1079) 2022-04-03 00:10:50 +08:00
Yoshiaki Togami
190b1c1937
feat: show more details when no test files found (#1033)
* chore: resolve conflict

* feat: show more details when test files not found

* chore: fix unit test

* chore: remove some dead code

* doc: fix example

* refactor: cleanup

* feat: show filters, if no files found and has filters

Co-authored-by: Vladimir Sheremet <sheremet.va@icloud.com>
2022-04-02 14:57:45 +03:00
Anthony Fu
43f681914a chore: update deps 2022-04-02 00:30:52 +08:00
patak
43ef6bbfea
chore: update patak sponsors image url (#1061) 2022-03-31 15:49:03 +02:00
Jannis Morgenstern
7b732bdcc5
chore: typo (#1056) 2022-03-31 14:21:10 +08:00
Anthony Fu
2d662ec2a0
fix: remove depercated global option in favor of globals (#970) 2022-03-29 17:38:45 +08:00
Dewey Ou
7588227069
docs: typos (#1048) 2022-03-28 14:00:22 +08:00
Lo
f7b81d032a
docs: review MockInstance in docs/api/index.md (#1047) 2022-03-28 12:42:42 +08:00
renovate[bot]
ffa0228034
chore(deps): update all non-major dependencies (#1042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 10:13:38 +08:00
alexzhang1030
255a7138a0
docs: fix typo (#1044) 2022-03-28 10:13:23 +08:00
Vladimir
b6b9113e62
docs: add spy assertions (#1040)
* docs: add spy assertions to docs

* chore: ignore ltex rules
2022-03-27 19:11:52 +08:00
Anthony Fu
5485fd308e docs: add Chinese entry 2022-03-27 16:11:14 +08:00
Dewey Ou
4210c39122
feat: add parameter for test name of each (#1031)
* feat: add parameter for test name of each api

* fix: each test name escaped case

* fix: add a judgment
2022-03-26 20:12:06 +08:00
Lo
05b3b77726
docs: review Vi in docs/api/index.md (#1030) 2022-03-26 15:03:27 +08:00
Caleb Waldner
ec40047b4e
docs: updates for vi.mock in the API section (#1021)
* Update docs api mocks section

* Removed misplaced space

* Update docs/api/index.md

Co-authored-by: Vladimir <sheremet.va@icloud.com>

* Update docs/api/index.md

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

Co-authored-by: Vladimir <sheremet.va@icloud.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-03-25 15:03:22 +08:00
jp-liu
f4f26cb3c5
docs: remove redundant description (#1025)
Co-authored-by: jpliu6 <jpliu6@iflytek.com>
2022-03-25 15:01:28 +08:00