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
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Randy
e4c5ab9c69
Radiogroup with `name` ( #7009 )
* Add a name property for RadioGroup
* Add document for RadioGroup's name property
* Add test case for RadioGroup name property
7 years ago
Benjy Cui
eb9e19be1f
feat: make Checkbox work in Checkbox.Group, close : #5645 ( #5714 )
* refactor: simplify Radio's code
* feat: make Checkbox work in Checkbox.Group, close : #5645
* test: add snapshot
8 years ago
afc163
139eedf87c
update radio group demo
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
afc163
0bfb35c562
fix snapshot
8 years ago
黄子毅
0648172973
fix jslint ( #5514 )
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Benjy Cui
15c3656a6d
test: update test for Radio className
8 years ago
Benjy Cui
4579d8c419
fix: should not generate className twice, close : #5295
8 years ago
Benjy Cui
758559f718
test: update snapshots
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
Rex
ca8e88971a
fix: callback is triggered only when the value changes ( #4278 )
* callback is triggered only when the value changes
* optimize lastValue assignment
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago