Skip to content

Commit

Permalink
fix linting & tests snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed May 26, 2022
1 parent 0dc4f50 commit 3d74a70
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 590 deletions.
1 change: 0 additions & 1 deletion addons/a11y/src/components/VisionSimulator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ describe('Vision Simulator', () => {
fireEvent.click(screen.getByText('blurred vision'));

// then
// eslint-disable-next-line no-undef
const rule = Object.values(document.styleSheets)
.filter(({ cssRules }) => cssRules)
.map(({ cssRules }) => Object.values(cssRules))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ Object {
},
],
"plugins": Array [
"babel-plugin-named-exports-order",
"NODE_MODULES/react-refresh/babel.js",
],
"presets": Array [
Expand Down Expand Up @@ -423,6 +422,12 @@ Object {
"cacheDirectory": "NODE_MODULES/.cache/storybook/babel",
"configFile": false,
"overrides": Array [
Object {
"plugins": Array [
"NODE_MODULES/babel-plugin-named-exports-order/index.js",
],
"test": "/\\\\.(story|stories).*$/",
},
Object {
"plugins": Array [
Array [
Expand All @@ -436,7 +441,6 @@ Object {
},
],
"plugins": Array [
"babel-plugin-named-exports-order",
Array [
"NODE_MODULES/@babel/plugin-transform-react-jsx/lib/index.js",
Object {
Expand Down Expand Up @@ -474,6 +478,12 @@ Object {
"cacheDirectory": "NODE_MODULES/.cache/storybook/babel",
"configFile": false,
"overrides": Array [
Object {
"plugins": Array [
"NODE_MODULES/babel-plugin-named-exports-order/index.js",
],
"test": "/\\\\.(story|stories).*$/",
},
Object {
"plugins": Array [
Array [
Expand All @@ -487,7 +497,6 @@ Object {
},
],
"plugins": Array [
"babel-plugin-named-exports-order",
Array [
"NODE_MODULES/@babel/plugin-transform-react-jsx/lib/index.js",
Object {
Expand Down
Loading

0 comments on commit 3d74a70

Please sign in to comment.