We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9e7fa commit 097c6d5Copy full SHA for 097c6d5
src/ui/button.test.tsx
@@ -82,7 +82,8 @@ describe('Button component ', () => {
82
render(<Button testID="button" size="lg" />);
83
const button = screen.getByTestId('button');
84
// TODO: should be fixed to use haveStyle instead of comparing the class name
85
- const expectedStyle = 'font-[600] font-jakarta text-white text-xl';
+ const expectedStyle =
86
+ 'font-[600] font-jakarta text-white dark:text-black text-xl';
87
const receivedStyle =
88
button.props.children[0].props.children.props.className;
89
expect(receivedStyle).toContain(expectedStyle);
0 commit comments