WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit ca885d8

Browse files
committed
fix test
1 parent 618dca6 commit ca885d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/jest-serializer/src/index.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('serializer', () => {
7070
paddingRight: '20px',
7171
});
7272
expect(render(<TestResetComponent id="reset-test" />).getByTestId('reset-test')).toHaveStyle({
73-
color: 'red',
73+
color: 'rgb(255, 0, 0)' /* red */,
7474
paddingLeft: '10px',
7575
marginLeft: '20px',
7676
});
@@ -83,7 +83,7 @@ describe('serializer', () => {
8383
expect(
8484
render(<TestResetComponent id="rtl-reset-test" />, { wrapper: RtlWrapper }).getByTestId('rtl-reset-test'),
8585
).toHaveStyle({
86-
color: 'red',
86+
color: 'rgb(255, 0, 0)' /* red */,
8787
paddingRight: '10px',
8888
marginRight: '20px',
8989
});

0 commit comments

Comments
 (0)