Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffael Wannenmacher committed Jan 18, 2024
1 parent 1b266c5 commit 63b1db7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/mui-system/createStyled.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ describe('createStyled', () => {
${cssStub}
`;

beforeEach(() => {
cssStub.resetHistory();
});

it('should resolve nested functions with props', () => {
const { container } = render(<Div color={redColor}>Test</Div>);

Expand Down Expand Up @@ -70,6 +74,10 @@ describe('createStyled', () => {
${({ color }) => color && nestedCss}
`;

beforeEach(() => {
cssStub.resetHistory();
});

it('should resolve nested functions with props', () => {
const { container } = render(<Div color={redColor}>Test</Div>);

Expand Down

0 comments on commit 63b1db7

Please sign in to comment.