diff --git a/.size-limit.js b/.size-limit.js index 15d90e418b7b34..ab0df7e638caad 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -40,7 +40,7 @@ module.exports = [ name: 'The size of the color manipulator helpers', webpack: true, path: 'packages/material-ui/build/styles/colorManipulator.js', - limit: '900 B', + limit: '903 B', }, { // vs https://bundlephobia.com/result?p=react-popper diff --git a/packages/material-ui-system/src/spacing.test.js b/packages/material-ui-system/src/spacing.test.js index 9de302d38361fa..3420fc872b5acd 100644 --- a/packages/material-ui-system/src/spacing.test.js +++ b/packages/material-ui-system/src/spacing.test.js @@ -75,10 +75,7 @@ describe('spacing', () => { consoleWarnMock.args()[0][0], /the `theme.spacing` value \(\[object Object\]\) is invalid\./, ); - assert.match( - consoleWarnMock.args()[0][0], - /It should be a number, an array or a function\./, - ); + assert.match(consoleWarnMock.args()[0][0], /It should be a number, an array or a function\./); }); });