Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored and ljharb committed Apr 12, 2017
1 parent 270ee7f commit ec7bbc5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/ShallowWrapper.js
Expand Up @@ -153,10 +153,6 @@ class ShallowWrapper {
this.complexSelector = new ComplexSelector(buildPredicate, findWhereUnwrapped, childrenOfNode);
}

batchedUpdates(fn) {

}

/**
* Returns the wrapped ReactElement.
*
Expand Down
2 changes: 1 addition & 1 deletion test/ReactWrapper-spec.jsx
Expand Up @@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
import { expect } from 'chai';
import sinon from 'sinon';
import { batchedUpdates } from '../src/react-compat';
import { createClass } from './react-compat'
import { createClass } from './react-compat';

import {
describeWithDOM,
Expand Down
6 changes: 6 additions & 0 deletions test/react-compat.js
@@ -1,3 +1,9 @@
/* eslint
global-require: 0,
import/no-mutable-exports: 0,
import/prefer-default-export: 0,
*/

import { REACT155 } from '../src/version';

let createClass;
Expand Down
2 changes: 1 addition & 1 deletion test/staticRender-spec.jsx
Expand Up @@ -4,7 +4,7 @@ import { expect } from 'chai';
import { describeWithDOM, describeIf } from './_helpers';
import { render } from '../src/';
import { REACT013 } from '../src/version';
import { createClass } from './react-compat'
import { createClass } from './react-compat';

describeWithDOM('render', () => {
describeIf(!REACT013, 'context', () => {
Expand Down

0 comments on commit ec7bbc5

Please sign in to comment.