Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Oct 27, 2020
1 parent 81dab2d commit 2c410ad
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/material-ui/src/styles/experimentalStyled.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('experimentalStyled', () => {

it('should use theme from context if available', () => {
const Div = styled('div')`
width: ${(props) => props.theme.spacing(1)}
width: ${(props) => props.theme.spacing(1)};
`;

const theme = createMuiTheme({
Expand Down Expand Up @@ -107,7 +107,6 @@ describe('experimentalStyled', () => {
*/
let DivObj;


before(() => {
Div = styled('div')`
font-size: ${(props) => props.scale * 8}px;
Expand Down Expand Up @@ -202,7 +201,7 @@ describe('experimentalStyled', () => {
)({
width: '200px',
height: '300px',
})
});
});

it('should work with specified muiOptions', () => {
Expand Down Expand Up @@ -355,7 +354,6 @@ describe('experimentalStyled', () => {
});
});


it('should resolve the sx prop when styles are object', () => {
const { container } = render(
<ThemeProvider theme={theme}>
Expand Down

0 comments on commit 2c410ad

Please sign in to comment.