Skip to content

Commit

Permalink
chore(tailwind): fix tests
Browse files Browse the repository at this point in the history
tests were using deprecated tokens instead of new ones
  • Loading branch information
DSil authored and mainframev committed Sep 19, 2023
1 parent 6176aca commit 489bb29
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ describe("line heights", () => {
render(<LineHeight />);

expect(screen.getByText("leading-small")).toHaveStyle({
lineHeight: defaultTokens.lineHeightTextSmall,
lineHeight: defaultTokens.lineHeightSmall,
});

expect(screen.getByText("leading-normal")).toHaveStyle({
lineHeight: defaultTokens.lineHeightTextNormal,
lineHeight: defaultTokens.lineHeightNormal,
});

expect(screen.getByText("leading-large")).toHaveStyle({
lineHeight: defaultTokens.lineHeightTextLarge,
lineHeight: defaultTokens.lineHeightLarge,
});
});
});

0 comments on commit 489bb29

Please sign in to comment.