Anthony Fu
657225563d
chore: lint
2022-05-03 09:28:45 +08:00
Anthony Fu
4673589125
chore: release script
2022-05-03 01:33:26 +08:00
Anthony Fu
76c389497c
feat: test.skipIf and test.runIf apis
2022-05-02 23:48:14 +08:00
Anthony Fu
317766f70f
chore: apply lint
2022-05-02 23:12:20 +08:00
Yuyao Nie
d09de8f29a
fix: diff output is incorrectly when using expect.any ( #1197 )
2022-05-02 23:07:40 +08:00
Carlos Rodrigues
4956713a77
fix: self exported module call stack error ( #1221 )
...
* fix: self exported module call stack error
* remove warning
2022-05-01 16:34:19 +00:00
Vladimir
a944a910ce
fix: todo assertion status in json output ( #1223 )
...
* fix: todo assertion status in json output
* test: fix tests for reporters
2022-05-01 17:59:08 +03:00
snowingfox
0e95cc8114
chore: correct typo ( #1199 )
2022-04-27 16:02:56 +02: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
713c870a55
chore: lint
2022-04-25 19:44:30 +08:00
Gustavo Bissolli
95b1ba4c17
fix: types for EachFunction are missing awaitable return ( fix : #1181 ) ( #1182 )
2022-04-22 18:46:05 +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
Vladimir
065fe0edeb
test: fix timers resetting in tests ( #1177 )
...
* test: fix timers resetting in tests
* chore: don't format json files
2022-04-21 22:02:56 +08:00
Shinigami
7dbd837661
feat: add satisfy alias ( #1172 )
...
* feat: add satisfy alias
* test: add toSatisfy test
2022-04-20 22:20:46 +08:00
Tmk
d8e0493e26
fix: config.root priority ( #1164 )
...
* fix: config.root priority
* test: add vite config root test
2022-04-19 11:38:02 +08:00
Mikael Selander
ab8e2b892e
fix: remove invalid xml characters in junit reporter output ( fix #1144 ) ( #1145 )
2022-04-14 14:42:35 +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
Guido D'Orsi
0b6d980c80
fix(mock-api): provide an explainatory error message when the mocks API hoisting doesn't work ( #1098 )
2022-04-07 02:06:56 +08:00
Vladimir
5cc592be97
feat: add resolveSnapshotPath option ( #1101 )
2022-04-05 18:04:33 +08:00
Vladimir
6f552751df
fix: don't reexport vi utils from vitest ( #1100 )
2022-04-05 18:04:08 +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
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
15829489eb
feat: stubGlobals helper ( #1079 )
2022-04-03 00:10:50 +08:00
Anthony Fu
43f681914a
chore: update deps
2022-04-02 00:30:52 +08:00
Zixuan Chen
3326332528
fix: align json output with jest's ( #1034 )
2022-03-29 17:38:11 +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
Vladimir
a880d3f17a
fix: event target mismatch with global event ( #1036 )
...
* fix: event target mismatch with global event
* test: dom doesn't throw
* chore: cleanup
2022-03-27 17:11:31 +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
Dewey Ou
f52cd934ca
fix: assertions error message ( #1027 )
2022-03-25 15:03:13 +08:00
yoho
ce7927d0df
fix: type error ( #1002 )
2022-03-23 14:06:30 +08:00
yoho
10e072baeb
chore: coverage remove restart vitest ( #1000 )
2022-03-22 18:02:36 +08:00
Jess
7952647601
feat: adding ui component tests ( #590 )
...
* docs: additional cypress + vitest comparison content
* feat: ui testing
* fix: seperate cypress tests
* feat: adding cypress component testing for ui
* chore: share the common deps for global app setup
* spacing
* Update package.json
Co-authored-by: Michel EDIGHOFFER <edimitchel@gmail.com>
* chore: adding OptimizationPersist + PkgConfig to reduce flake
* chore: workaround for unocss hmr
* chore: adding ts-ignore comments
* chore: reordering data-testid
* chore: ts-expect-error
* --allow-empty
* bug: reproduction of failing vite + cypress setup
* chore: adding Vite 2.9.0-beta.3 to cold-start stability issues for UI component tests
* chore: fixing types
* chore: fixing types
* reenabling tests
* adding faker seed back in
* bumping faker version
Co-authored-by: Michel EDIGHOFFER <edimitchel@gmail.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-21 19:18:44 +08:00
Ari Perkkiö
5eac4ca63a
fix: prevent crashing when directory of outputFile does not exist ( #986 )
2022-03-20 00:37:20 +08:00
Ari Perkkiö
2dfcdf93c7
test(reporters): add outputFile tests ( #978 )
2022-03-19 15:51:31 +08:00
Anthony Fu
210bc6f277
feat: new isFirstRun utils
2022-03-18 02:37:16 +08:00
Anthony Fu
8a25a787d0
feat: new setupOnce utils ( #967 )
2022-03-18 01:05:21 +08:00
Vladimir
980e00badc
test: don't run 500 stub tests in CI ( #912 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-16 23:00:59 +00:00
Vladimir
73753475f5
feat: web worker support ( #726 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-16 22:58:41 +00:00
Anthony Fu
39883e7b9e
chore: skip custom reporter tests in windows
2022-03-17 06:55:25 +08:00
Kalven Schraut
7b983445a8
fix(vite-node): normalize relative paths to be from current working directory ( #952 )
2022-03-17 06:39:38 +08:00
Anthony Fu
067d59c397
chore: clean up
2022-03-16 17:32:31 +08:00
Anthony Fu
51c2058242
feat: group sync console.log calls with macro task
2022-03-16 17:31:58 +08:00
Anthony Fu
7386bbc9ef
chore: update deps
2022-03-16 15:53:00 +08:00
Kalven Schraut
1c6ffcac28
fix: add Module symbol to export object ( #951 )
2022-03-16 15:39:16 +08:00
alexzhang1030
a8955bb8a5
fix: update inlineSnapshot should not remove end whitespace, close #922 ( #956 )
2022-03-16 15:18:25 +08:00
Kalven Schraut
e3a7ff3c4f
fix(expect): toHaveProperty support array syntax like jest ( fix #937 ) ( #938 )
2022-03-15 06:20:14 +01:00