Skip to content

Commit c52a6c0

Browse files
committed
Fix tests
1 parent 3340f96 commit c52a6c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/tags/src/styled/StyledTag.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ describe('StyledTag', () => {
154154
it.each([['light'], ['dark']])('renders using a custom hue for %s mode', mode => {
155155
const renderFn = mode === 'light' ? render : renderDark;
156156
const { container } = renderFn(<StyledTag $hue="azure" />);
157-
const backgroundColor = mode === 'dark' ? PALETTE.azure[500] : PALETTE.azure[700];
157+
const backgroundColor = mode === 'dark' ? PALETTE.azure[600] : PALETTE.azure[700];
158158

159159
expect(container.firstChild).toHaveStyleRule('background-color', backgroundColor);
160160
});

packages/typography/src/elements/span/Span.spec.tsx

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

7878
expect(container.firstChild).toHaveStyleRule(
7979
'color',
80-
(PALETTE as any)[hue][mode === 'light' ? 700 : 500]
80+
(PALETTE as any)[hue][mode === 'light' ? 700 : 600]
8181
);
8282
});
8383

0 commit comments

Comments
 (0)