Skip to content

Commit

Permalink
feat: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed Nov 12, 2021
1 parent ab18265 commit 40fdebb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lib/rules/no-unused-class-component-methods.js
Expand Up @@ -438,6 +438,7 @@ ruleTester.run('no-unused-class-component-methods', rule, {
componentDidUpdate() {}
componentDidCatch() {}
componentWillUnmount() {}
getChildContext() {}
render() {
return <SomeComponent />;
}
Expand Down Expand Up @@ -467,6 +468,7 @@ ruleTester.run('no-unused-class-component-methods', rule, {
componentDidUpdate() {},
componentDidCatch() {},
componentWillUnmount() {},
getChildContext() {}
render() {
return <SomeComponent />;
},
Expand Down

0 comments on commit 40fdebb

Please sign in to comment.