Skip to content

Commit

Permalink
Skip Box test in JSDom
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Aug 24, 2023
1 parent 35b1946 commit d5a68ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/mui-system/src/Box/Box.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,13 @@ describe('<Box />', () => {
});

describe('prop: maxWidth', () => {
it('should resolve breakpoints with custom units', () => {
it('should resolve breakpoints with custom units', function test() {
const isJSDOM = /jsdom/.test(window.navigator.userAgent);

if (isJSDOM) {
this.skip();
}

const theme = createTheme({
breakpoints: {
unit: 'rem',
Expand Down

0 comments on commit d5a68ba

Please sign in to comment.