lijianan
33275b6e80
demo: fixed the avatars are all the same picture ( #40809 )
* demo: update demo
* update snap
* update snap
* update snap
2 years ago
二货爱吃白萝卜
5dfce54437
ci: use node 16 ( #40800 )
* chore: use node 16
* chore: all lock ver
* chore: size-limit
* chore: mv clean up logic into master
2 years ago
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
MadCcc
630c24aa79
test: raise test covarage ( #38027 )
* test: raise test covarage
* chore: code clean
* chore: lock jest-dom to v28
* chore: lock jest-dom
* test: update setup
2 years ago
MadCcc
92a32998ac
test: mock matchMedia configurable ( #38034 )
2 years ago
lijianan
c2d7fe4f0d
chore: delete Enzyme ( #37854 )
* chore: delete Enzyme
* fix: fix
2 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
3 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
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
3 years ago
陈帅
0afdbe4d4a
fix: exporting common types ( #28963 )
* exporting common types
* no use importype
* fix test
* try fix test
* Update components/index.tsx
Co-authored-by: 偏右 <afc163@gmail.com>
* remove typo
* fix test
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
Tom Xu
32a9ba52b8
chore: 🆙 upgrade react 17 ( #27268 )
#26136
4 years ago
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
4 years ago
偏右
fdbf37a9c0
test: increase test case coverage ( #24430 )
* test: increase test case of Cascader
* test: increase test case of Grid and Tree
5 years ago
偏右
ff509bccd0
fix: optimize PageHeader responsive behavior ( #23277 )
* 💄 optimize PageHeader responsive behavior
close #23260
* ✅ add test case
* remove console
5 years ago
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
5 years ago
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing ( #20400 )
* fix: init miss sizing
* update mock test
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
afc163
884031afcc
✅ fix eslint console warning
5 years ago
二货机器人
0f83e0a4ee
fix: should work in old version react ( #19262 )
* fix: should work in old version react
* update ci config
* add version log
5 years ago
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
5 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
292a91a777
Add test cases for Mention
7 years ago
偏右
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
7 years ago
Wei Zhu
67fee48c6a
Run test against multiple react versions
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
偏右
742999ff28
Fix matchMedia not present in jest test ( #7344 )
close #6560
close #3308
close #7341
7 years ago
afc163
d0d6e10894
Fix node test again
7 years ago
afc163
72f7232929
Add test cases for Card and Breadcrumb
7 years ago
Wei Zhu
206a327ade
Fix tests
1. run all same demo test on node as jsom
2. mock date
3. create a setup file for common settings
4. skip breadcrumb router demo test
8 years ago