Skip to content

Commit

Permalink
fix: move eslint disable comment in reactify test (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
etr2460 authored and zhaoyongjie committed Nov 26, 2021
1 parent 3fc8551 commit 3d6ef61
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 3d6ef61

Please sign in to comment.