Commit Graph

30 Commits

Author SHA1 Message Date
afc163
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +08:00
afc163
3788e85bbf
test: fix @babel/runtime mjs transform in jest (#29427) 2021-02-23 13:08:31 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
南小北
1f04f78707
test: fix jest with less import (#24900) 2020-06-11 09:59:01 +08:00
骗你是小猫咪
8d0bba4dea
test: 🚀 New Image Snapshots (#24003)
* test: New Image Snapshots

* circleci apt-get some lib

* fix command

* set CircleCI NODE_ENV

* new test:image

* upgrade jest-image-snapshot

* needs dist

* use jest html report

* use now deploy

* fix deploy skip

* set token

* upgrade version

* change if

* improve imageTest

* print node version

* revert puppeteer version

* fix now fail

* test

* fix now fail

* add if

* fix if

* add judgement

* fix action

* rebase

* fix test image script

* lint ignore

* fix lint fail
2020-05-20 19:47:49 +08:00
偏右
22c313d032
chore: 🔨 replace css-animation by @ant-design/css-animation (#23932)
* 🆙 use @ant-design/css-animation

* fix ci

* fix ci
2020-05-07 16:29: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
zombiej
702cb61586 chore: Fix jest filter 2020-03-29 14:07:42 +08:00
afc163
85fcf0fe6e 🐛 fix Icon component ts error with cra definition
close #13205
close #19638
2019-12-09 15:27:58 +08:00
偏右
62d7a2bbb0
restore test coverage (#20071) 2019-12-04 14:09:39 +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
陈帅
243a5b6097 Migrate jest new configuration 2018-12-16 11:26:36 +08:00
偏右
dfe57a0da3
🌱 upgrade testRegex code style 2018-11-28 12:20:58 +08:00
Heaven
debee2edcb fix eslint config (#11701)
* fix eslint config

* use same pattern
2018-08-10 13:49:06 +08:00
Emerson Laurentino
0f9da43522 Avatar custom size (#11419)
* add avatar support custom size

* me added to author list and sorting alphabetically

* fix avatar sizeChildrenStyle preference

* fix authors

* fix snapshots
2018-08-02 20:25:14 +08:00
Wei Zhu
4a906137b8 Add testUrl
https://github.com/jsdom/jsdom/issues/2304
2018-07-28 17:45:21 +08:00
偏右
8226ede38e
Fix test case for new jsdom (#9527)
* Fix test case for new jsdom

* use setTimeout as raf in jest jsdom

* Fix cancelAnimationFrame

* Add comment for facebook/jest#5147

* longer timeout

* fix snap

* upgrade antd-tools
2018-03-06 21:21:01 +08:00
Wei Zhu
4a9277277b Improve coverage 2018-01-29 11:36:56 +08:00
Wei Zhu
eab8b42257 Ignore interface file 2018-01-29 11:27:53 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
7b1df54523 Config jest transform ignore path 2017-08-18 18:47:47 +08:00
Wei Zhu
145ed77c00 fix: form type (#7245) 2017-08-18 17:21:18 +08:00
Benjy Cui
723da5e164 test: fix CI 2017-08-18 17:20:07 +08:00
Benjy Cui
f089d1852d chore: remove useless deps, and close: #4451 2017-08-18 15:00:21 +08:00
Wei Zhu
7ba016218c Only run demo tests when using dist files 2017-07-03 18:40:44 +08:00
Wei Zhu
1f69de8da4 Run demo test against dist/lib/es dir 2017-06-30 15:30:17 +08:00