Skip to content

Commit

Permalink
[core] Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 2, 2018
1 parent b431b3b commit 73c8ab9
Show file tree
Hide file tree
Showing 6 changed files with 151 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = [
name: 'The main bundle of the docs',
webpack: false,
path: getMainFile().path,
limit: '182 KB',
limit: '183 KB',
},
{
name: 'The home page of the docs',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"lz-string": "^1.4.4",
"mocha": "^5.0.0",
"next": "^6.0.1",
"nyc": "^11.3.0",
"nyc": "^12.0.1",
"postcss": "^6.0.16",
"prettier": "^1.8.2",
"raw-loader": "^0.5.1",
Expand All @@ -139,7 +139,7 @@
"react-swipeable-views": "^0.12.10",
"react-test-renderer": "^16.1.1",
"react-text-mask": "^5.0.2",
"recast": "^0.14.4",
"recast": "^0.15.0",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"react-transition-group": "^2.2.1",
"recompose": "^0.26.0 || ^0.27.0",
"scroll": "^2.0.3",
"warning": "^3.0.0"
"warning": "^4.0.1"
},
"devDependencies": {},
"sideEffects": false,
Expand Down
6 changes: 1 addition & 5 deletions packages/material-ui/src/styles/createBreakpoints.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ import { assert } from 'chai';
import createBreakpoints from './createBreakpoints';

describe('createBreakpoints', () => {
let breakpoints;

before(() => {
breakpoints = createBreakpoints({});
});
const breakpoints = createBreakpoints({});

describe('up', () => {
it('should work for xs', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// @flow

import React from 'react';
import { assert } from 'chai';
import { createShallow, getClasses } from '../test-utils';
import Paper from '../Paper';
import type { Breakpoint } from '../styles/createBreakpoints';
import Dialog from '../Dialog';
import withMobileDialog from './withMobileDialog';

Expand All @@ -20,7 +17,7 @@ describe('withMobileDialog', () => {
classes = getClasses(<Dialog {...defaultProps}>foo</Dialog>);
});

function isFullScreen(breakpoints: Array<Breakpoint>, width: Breakpoint) {
function isFullScreen(breakpoints, width) {
breakpoints.forEach(breakpoint => {
it(`is for width: ${width} <= ${breakpoint}`, () => {
const ResponsiveDialog = withMobileDialog({ breakpoint })(Dialog);
Expand All @@ -34,7 +31,7 @@ describe('withMobileDialog', () => {
});
}

function isNotFullScreen(breakpoints: Array<Breakpoint>, width: Breakpoint) {
function isNotFullScreen(breakpoints, width) {
breakpoints.forEach(breakpoint => {
it(`is not for width: ${width} > ${breakpoint}`, () => {
const ResponsiveDialog = withMobileDialog({ breakpoint })(Dialog);
Expand Down
Loading

0 comments on commit 73c8ab9

Please sign in to comment.