Skip to content

Commit

Permalink
try with strict:false
Browse files Browse the repository at this point in the history
  • Loading branch information
eladmotola committed Oct 7, 2020
1 parent 0627ef5 commit 1007f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/CssBaseline/CssBaseline.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import CssBaseline from './CssBaseline';
describe('<CssBaseline />', () => {
// StrictModeViolation: makeStyles will retain the styles in the head in strict mode
// which becomes an issue for global styles
const render = createClientRender();
const render = createClientRender({ strict: false });

it('renders its children', () => {
const { container } = render(
Expand Down

0 comments on commit 1007f2f

Please sign in to comment.