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 zhaoyongjie committed Nov 24, 2021
1 parent 7147857 commit e09f22e
Showing 1 changed file with 3 additions and 1 deletion.
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 e09f22e

Please sign in to comment.