Skip to content

Commit

Permalink
Bump eslint-plugin-react to ^7.25.2 (mui#28439)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: eps1lon <silbermann.sebastian@gmail.com>
  • Loading branch information
3 people authored Sep 20, 2021
1 parent d80aeee commit 6976c2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react": "^7.25.2",
"eslint-plugin-react-hooks": "^4.2.0",
"fast-glob": "^3.2.7",
"format-util": "^1.0.5",
Expand Down
3 changes: 1 addition & 2 deletions packages/mui-styles/src/makeStyles/makeStyles.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,14 @@ describe('makeStyles', () => {
return <div className={classes.root} />;
}

const wrapper = mount(
mount(
<ThemeProvider theme={theme}>
<StylesProvider sheetsRegistry={sheetsRegistry} sheetsCache={new Map()}>
<Test />
</StylesProvider>
</ThemeProvider>,
);

const div = wrapper.find('div').instance();
expect(sheetsRegistry.registry.length).to.equal(1);
expect(sheetsRegistry.registry[0].rules.raw).to.deep.equal({
root: { margin: null, padding: 3 },
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7401,10 +7401,10 @@ eslint-plugin-react-hooks@^4.2.0:
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==

eslint-plugin-react@^7.25.1:
version "7.25.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz#9286b7cd9bf917d40309760f403e53016eda8331"
integrity sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==
eslint-plugin-react@^7.25.2:
version "7.25.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.2.tgz#d567a217d306b76dd110561f28074e2328ae38f8"
integrity sha512-elx4585wgmryanJK4C5IoSKQyVZ+e7H0t2JOOtJNBql0cuercvSShvRReuLBbfx8687yW5yv+UL7pXwMsd6adQ==
dependencies:
array-includes "^3.1.3"
array.prototype.flatmap "^1.2.4"
Expand Down

0 comments on commit 6976c2e

Please sign in to comment.