Skip to content

Commit a47fbf3

Browse files
committed
test: fix test case error. #188
1 parent 0d669db commit a47fbf3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/hue.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ it('Hue direction === vertical', async () => {
105105
const elm = screen.getByTitle('custom-element');
106106
elm.focus();
107107
fireEvent.mouseDown(elm, { clientX: 1 });
108-
expect(elm.style).toHaveProperty('_values', { inset: '0', position: 'absolute', 'z-index': '1' });
108+
expect(elm.style).toHaveProperty('_values', { inset: '0', outline: 'none', position: 'absolute', 'z-index': '1' });
109109
});

test/saturation.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ it('Saturation', async () => {
3030
borderRadius: 0,
3131
cursor: 'crosshair',
3232
inset: 0,
33+
outline: 'none',
3334
position: 'relative',
3435
touchAction: 'none',
3536
backgroundImage: 'linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, hsl(0, 100%, 50%))',

0 commit comments

Comments
 (0)