Commit Graph

19 Commits

Author SHA1 Message Date
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
二货机器人
ac85fbec6f chore: merge master 2022-11-13 14:33:07 +08:00
二货机器人
2fe472d15b chore: add bail of jest test config 2022-11-08 11:06:57 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
偏右
76466dae9f
test: remove tsconfig.test.json (#24390) 2020-05-22 13:37:41 +08:00
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript (#22953)
* Refactor the button test to use typescript

* update tsconfig.json

* Change file name as a workaround

* update antd-tools
2020-04-13 13:36:23 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot (#22947)
* Introduce customer jest match to support matchRenderedSnapshot

* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
afc163
60e66dbafe 🐛 fix error antd-tools => @ant-design/tools 2019-08-01 15:28:16 +08:00
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd (#17607) 2019-07-13 10:29:47 +08:00
zombieJ
e0bfcab869
chore: Fix react-dnd CI (#17130)
* adjust jest ignore

* add node test

* update es
2019-06-17 12:00:52 +08:00
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
陈帅
8b8c133984
fix test ci (#13659) 2018-12-17 16:10:58 +08:00
陈帅
243a5b6097 Migrate jest new configuration 2018-12-16 11:26:36 +08:00
偏右
ba43ec816a
🌱 Add comment 2018-11-28 12:19:06 +08:00
Heaven
debee2edcb fix eslint config (#11701)
* fix eslint config

* use same pattern
2018-08-10 13:49:06 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Benjy Cui
f089d1852d chore: remove useless deps, and close: #4451 2017-08-18 15:00:21 +08:00
Wei Zhu
1f69de8da4 Run demo test against dist/lib/es dir 2017-06-30 15:30:17 +08:00