Skip to content

Commit 26f41e5

Browse files
committed
test(slider): update test case.
1 parent 1018b2e commit 26f41e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/slider.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ it('Slider onChange color:HexColor', async () => {
4343
color="#93bee6"
4444
onChange={(color) => {
4545
expect(Object.keys(color)).toEqual(expect.arrayContaining(['rgb', 'hsl', 'hsv', 'rgba', 'hsla', 'hsva', 'hex', 'hexa']));
46-
expect(color.hex).toEqual('#b3cde6');
47-
expect(color.hexa).toEqual('#b3cde6ff');
46+
expect(color.hex).toEqual('#82a9cc');
47+
expect(color.hexa).toEqual('#82a9ccff');
4848
}}
4949
/>,
5050
);

0 commit comments

Comments
 (0)