Skip to content

Commit

Permalink
fix: move eslint disable comment in reactify test (apache#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
etr2460 authored and williaster committed Jun 25, 2019
1 parent e1f8773 commit 795d2ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/superset-ui-chart/test/components/reactify.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable react/no-multi-comp */

import PropTypes from 'prop-types';
import React from 'react';
import { mount } from 'enzyme';
Expand Down Expand Up @@ -45,7 +47,7 @@ describe('reactify(renderFn)', () => {
return <TheChart id="test" content={content} />;
}
}
/* eslint-disable-next-line react/no-multi-comp */

class AnotherTestComponent extends React.PureComponent<{}, {}, any> {
render() {
return <TheChartWithWillUnmountHook id="another_test" />;
Expand Down

0 comments on commit 795d2ed

Please sign in to comment.