10 Commits

Author SHA1 Message Date
Lioness100
f13e54f096
chore: fix typos (#1857)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-08-15 18:38:15 +00:00
Vladimir
9f9216fe61
fix: correctly generate inline snapshots inside js files (#1510)
* fix: correctly generate inline snapshots inside js files

* chore: cleanup

* chore: add full link to comment

* test: imvrove snapshot generated test

* chore: remove snapshots :S

* chore: fix lockfile

* chore: generate inline snapshot test instead of using one
2022-06-21 12:00:36 +03: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
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
alexzhang1030
a8955bb8a5
fix: update inlineSnapshot should not remove end whitespace, close #922 (#956) 2022-03-16 15:18:25 +08:00
Anthony Fu
621300d0a0 chore: lint for md and json 2022-03-08 03:30:59 +08:00
poyoho
5a848c0e77
fix(snapshot): received add prepareExpected (#711) 2022-02-09 21:44:10 +08:00
Ivan Demchuk
36e6207403
docs: use vitest run mode for coverage examples (fix #602) (#611) 2022-01-23 18:11:56 +08:00
patak
22d2deda69
refactor: rename global to globals (#565) 2022-01-18 13:16:44 +08:00
Vladimir
4b0bd3ff94 test: non default options in snapshot 2022-01-11 11:55:47 +03:00