MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
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>
1 year ago
lijianan
d3764fcce3
test: refactor test case demo CC => FC ( #40070 )
* test: refactor test case demo CC => FC
* add type
* type
2 years ago
Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2 years ago
Zheeeng
dcac4f66a4
fix: signatures for Upload ( #37861 )
2 years ago
lijianan
8010cd19b6
test: migrate part of DatePicker tests ( #37115 )
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* fix: update snap
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: remove useless methods
* test: add test ignore
2 years ago
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent ( #36921 )
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
renovate[bot]
14fa342da3
chore(deps): update dependency eslint to v8 ( #32501 )
* chore(deps): update dependency eslint to v8
* fix eslint errors
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Map1en_
8f3f0076de
fix: ConfigProvider rerender unexpectedly when switching some language ( #31630 )
* fix: ConfigProvide could not maintain the state of components when switching some lang
close #31592
* chore: add test case
* Update components/config-provider/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* chore: fix checks
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 ( #27268 )
#26136
4 years ago
二货机器人
f68c743448
test: Remove timeout in configProvider test ( #26499 )
* test: Remove timeout in configProvider test
* chore: Clean up
* move form test out
4 years ago
偏右
3d58b5a6b4
test: 📦 add compressed-size-action ( #25902 )
4 years ago
二货机器人
1489903d9d
fix: Modal async ( #23826 )
* make async
* fix tesst
5 years ago
Tom Xu
50416b3a7b
improvement: Form default locale ( #23165 )
* improve: Form default locale
* fix lint
* fix lint
* improve form doc
* add test case
* improve form validate messages
5 years ago
zombiej
fa8ddb4104
merge master
5 years ago
afc163
7743967bf6
🐛 Fix ConfigProvider locale not working for confirm
close #18731
5 years ago
zombieJ
f6566571ac
fix: ConfigProvider should not block LocaleProvider ( #18105 )
5 years ago
zombieJ
2d7df45ab7
fix: ConfigProvider wrapper locale no need with only children ( #18075 )
* fix: ConfigProvider wrapper locale no need with only children
* skip react 15
5 years ago