branch: merge master into feature #40575

branch: merge master into feature
This commit is contained in:
xrkffgg 2023-02-06 22:08:19 +08:00 committed by GitHub
commit 2a168b1a8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -275,7 +275,7 @@ describe('Segmented', () => {
expectMatchChecked(container, [false, false, true]);
// thumb appeared
expect(container.querySelectorAll(`.${prefixCls}-thumb`).length).toBe(1);
// expect(container.querySelectorAll(`.${prefixCls}-thumb`).length).toBe(1);
// change selection again
fireEvent.click(container.querySelectorAll(`.${prefixCls}-item-input`)[1]);
@ -284,7 +284,7 @@ describe('Segmented', () => {
expectMatchChecked(container, [false, true, false]);
// thumb appeared
expect(container.querySelectorAll(`.${prefixCls}-thumb`).length).toBe(1);
// expect(container.querySelectorAll(`.${prefixCls}-thumb`).length).toBe(1);
});
it('render segmented with `block`', () => {

View File

@ -138,7 +138,7 @@
"rc-progress": "~3.4.1",
"rc-rate": "~2.9.0",
"rc-resize-observer": "^1.2.0",
"rc-segmented": "~2.1.0",
"rc-segmented": "~2.1.2",
"rc-select": "~14.2.0",
"rc-slider": "~10.1.0",
"rc-steps": "~6.0.0",