afc163
292a91a777
Add test cases for Mention
7 years ago
Wei Zhu
edbbaac5f9
Fix date mocking
new Date returns a UTC time in node
Close #9743
7 years ago
Wei Zhu
62c9dee43e
Remove timezone from mock date
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
a8a4152c65
Clear RangePicker hover value after panel close ( #9029 )
Fix #8839
7 years ago
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports ( #8888 )
7 years ago
Wei Zhu
bf27b99947
v2-compatible-reset.css only exists in lib/style
7 years ago
Wei Zhu
9bcb8b8eec
Fix typo
7 years ago
Wei Zhu
28d13e2539
Add missing v2-compatible-reset.less
7 years ago
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
7 years ago
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
7 years ago
Wei Zhu
67fee48c6a
Run test against multiple react versions
7 years ago
Wei Zhu
f03af93b86
Optimize ci scripts
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
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
偏右
3b59a03c00
New component divider ( #7261 )
* Add Divider
* use Divider in table demos
* update demo instruction
* upgrade snapshots
7 years ago
niko
12bbe3776c
Feature list component ( #7150 )
* add list component
* fixed the demo syntax
* update list snapshots
7 years ago
乐仪
c30d1b191f
add Avatar
8 years ago
Benjy Cui
03504446b5
chore: antd doesn't support IE8 anymore
8 years ago
Wei Zhu
d0c115da5e
Don't need renderToJson anymore
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
偏右
dd589a4366
fix: change way to add package.version ( #4842 )
* Change way to add package.version
* replace content than create new content
8 years ago
Wei Zhu
f6c0e69af5
cleanup npm scripts ( #4499 )
* Cleanup npm scripts
* Lint fix
* Don't need ignore js files
* Upgrade jest
* Add components index.tsx test
8 years ago
偏右
15b81d7ec8
test: Add test case for components/index.tsx ( #4450 )
8 years ago
ddcat1115
c5b154294e
add attribute `compact` for InputGroup ( #4309 )
* add attribute `compact` for InputGroup
* improve
8 years ago
偏右
0062867274
Feature 2.6 ( #4429 )
* new Layout Component (#4087 )
* change Anchor type
* new Layout
* Component update && add snap
* Revert "new Layout Component" (#4131 )
* add Layout (#4169 )
* add Layout
* update
* fix snapshot
* Improve layout component
1. update demo code
2. drop `position` of Sider
3. improve demo style
8 years ago
afc163
f07f33d879
fix snapshots
8 years ago
Wei Zhu
3dc2ed6a64
Add forgotten snap back.
8 years ago
Wei Zhu
ba9d95bba9
Simplify module export test
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago
afc163
7cf4192c4e
Add demo snap
8 years ago
afc163
16808eeadb
fix test snap
8 years ago
afc163
f83b2c111e
fix eslint warning
8 years ago
Benjy Cui
383101830a
docs: update demo
8 years ago
Wei Zhu
66f7b050eb
Read initial visible state from column.filterDropdownVisible if it's available. ( #4182 )
fix #4162
8 years ago
Wei Zhu
e1efc29150
Enable Table sortOrder test.
8 years ago
Benjy Cui
36a4304de4
style: update code style for test case
8 years ago
Wei Zhu
536aed3ffe
Improve Table testing ( #4151 )
8 years ago
Wei Zhu
1f36734cb6
Update snapshots for tabs
8 years ago
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
8 years ago
陆离
f36f1625f1
add anchor-testing ( #4154 )
* add anchor-testing
* recover EOF blank
8 years ago
Benjy Cui
9afea0f47d
test: update snapshot
8 years ago
afc163
4c116aaa3a
Fix snap test
8 years ago
afc163
99df18139b
Improve Menu selected design
8 years ago
afc163
ca1f16556c
fix snap test
8 years ago
afc163
d2644e3c11
Fix snap test
8 years ago