Skip to content

Commit

Permalink
fix(axe): remove global timeout configuration (#611)
Browse files Browse the repository at this point in the history
* fix(axe): remove global timeout configuration

* fix(menuitem): fix axe timeouts

* fix(axe): fix axe timeouts
  • Loading branch information
masoudmanson authored Sep 27, 2023
1 parent b585b0d commit 619bd82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"build-storybook": "storybook build -o docs-build",
"test-storybook": "test-storybook",
"storybook:axe": "yarn build-storybook && yarn storybook:axeOnly",
"storybook:axeOnly": "axe-storybook --build-dir docs-build --timeout 10000",
"storybook:axeOnly": "axe-storybook --build-dir docs-build",
"test": "lerna run test -- --detectOpenHandles",
"test:updateSnapshots": "lerna run test -- -u --detectOpenHandles",
"namespace-check": "lerna run namespace-check",
Expand Down
3 changes: 3 additions & 0 deletions packages/components/src/core/MenuItem/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ export const ScreenshotTest = {
name: "text here",
},
parameters: {
axe: {
timeout: 10 * 1000,
},
controls: {
exclude: [
"name",
Expand Down

0 comments on commit 619bd82

Please sign in to comment.