Skip to content

Commit

Permalink
Do not use arrow function in tests (React 13, 14)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Sep 29, 2017
1 parent a302bfb commit 8490f35
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/enzyme-test-suite/test/Adapter-spec.jsx
Expand Up @@ -91,7 +91,7 @@ describe('Adapter', () => {
hydratedTreeMatchesUnhydrated(<Four />);
});

it('treats mixed children correctlyf', () => {
it('treats mixed children correctly', () => {
class Foo extends React.Component {
render() {
return (
Expand Down Expand Up @@ -493,7 +493,11 @@ describe('Adapter', () => {
});

it('render node with updated props', () => {
const Dummy = () => null;
class Dummy extends React.Component {
render() {
return null;
}
}

class Counter extends React.Component {
constructor(props) {
Expand Down

0 comments on commit 8490f35

Please sign in to comment.