Skip to content

Commit 49a8614

Browse files
committed
Fix focus inset test
1 parent ca89f6f commit 49a8614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/forms/src/elements/input-group/InputGroup.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('InputGroup', () => {
3838

3939
fireEvent.focus(input);
4040

41-
expect(input).toHaveStyleRule('box-shadow', 'inset 0 0 0 1px #fff, inset 0 0 0 3px #1f73b7', {
41+
expect(input).toHaveStyleRule('box-shadow', expect.stringContaining('inset'), {
4242
modifier: '&:focus-visible'
4343
});
4444
});

0 commit comments

Comments
 (0)