Skip to content

Commit

Permalink
Add a11y testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Dec 6, 2024
1 parent b7d57d0 commit 53ce1d1
Show file tree
Hide file tree
Showing 5 changed files with 733 additions and 782 deletions.
17 changes: 0 additions & 17 deletions .storybook/a11y.vitest.setup.ts

This file was deleted.

4 changes: 2 additions & 2 deletions .storybook/vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview'
import { beforeAll } from 'vitest'
import { setProjectAnnotations } from '@storybook/experimental-nextjs-vite'
import * as projectAnnotations from './preview'
import './a11y.vitest.setup'

const annotations = setProjectAnnotations(projectAnnotations)
const annotations = setProjectAnnotations([a11yAddonAnnotations, projectAnnotations])

beforeAll(annotations.beforeAll)
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@
"devDependencies": {
"@chromatic-com/storybook": "3.0.0--canary.342.898d4c4.0",
"@prisma/client": "^5.11.0",
"@storybook/addon-a11y": "^8.4.6",
"@storybook/addon-essentials": "^8.4.6",
"@storybook/addon-viewport": "^8.4.6",
"@storybook/blocks": "^8.4.6",
"@storybook/addon-a11y": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/addon-essentials": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/addon-viewport": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/blocks": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/csf": "^0.1.11",
"@storybook/experimental-addon-test": "^8.4.6",
"@storybook/experimental-nextjs-vite": "^8.4.6",
"@storybook/react": "^8.4.6",
"@storybook/test": "^8.4.6",
"@storybook/experimental-addon-test": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/experimental-nextjs-vite": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/react": "0.0.0-pr-29643-sha-dd3f1df2",
"@storybook/test": "0.0.0-pr-29643-sha-dd3f1df2",
"@total-typescript/tsconfig": "^1.0.4",
"@types/node": "^20",
"@types/react": "^18",
Expand All @@ -94,7 +94,7 @@
"prettier": "^3.2.5",
"prisma": "^5.11.0",
"prisma-mock": "^0.10.2",
"storybook": "^8.4.6",
"storybook": "0.0.0-pr-29643-sha-dd3f1df2",
"tinyrainbow": "^1.2.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
Expand Down
Loading

0 comments on commit 53ce1d1

Please sign in to comment.