Skip to content

Commit a59cf58

Browse files
committed
Check if demo and MUI mappers uses the same versions
- otherwise it will cause styling troubles
1 parent f59e3c4 commit a59cf58

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import MUIJson from '../../package.json';
2+
import DEMOJson from '../../../react-renderer-demo/package.json';
3+
4+
describe('package.json', () => {
5+
it('mui-mapper has the same version as react-renderer-demo', () => {
6+
expect(MUIJson.devDependencies['@material-ui/core']).toEqual(DEMOJson.dependencies['@material-ui/core']);
7+
expect(MUIJson.devDependencies['@material-ui/icons']).toEqual(DEMOJson.dependencies['@material-ui/icons']);
8+
expect(MUIJson.devDependencies['@material-ui/styles']).toEqual(DEMOJson.dependencies['@material-ui/styles']);
9+
});
10+
});

0 commit comments

Comments
 (0)