Skip to content

Commit

Permalink
set up ui testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Oct 16, 2024
1 parent 841f31b commit 13f5b99
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 986 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config: StorybookConfig = {
addons: [
'@chromatic-com/storybook',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/experimental-addon-test',
'@storybook/addon-a11y',
'@storybook/addon-coverage',
'@storybook/addon-designs',
Expand Down
2 changes: 1 addition & 1 deletion .storybook/vitest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ import * as projectAnnotations from './preview';
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
const project = setProjectAnnotations([projectAnnotations]);

beforeAll(project.beforeAll);
beforeAll(project.beforeAll);
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,21 @@
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@chromatic-com/storybook": "^2.0.2",
"@chromatic-com/storybook": "3.0.0--canary.342.5bc8ac3.0",
"@ladle/react": "^4.1.2",
"@storybook/addon-a11y": "^8.3.0",
"@storybook/addon-a11y": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/addon-coverage": "^1.0.4",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-essentials": "^8.3.0",
"@storybook/addon-interactions": "^8.3.0",
"@storybook/addon-themes": "^8.3.0",
"@storybook/blocks": "^8.3.0",
"@storybook/experimental-addon-test": "^8.3.0",
"@storybook/manager-api": "^8.3.0",
"@storybook/react": "^8.3.0",
"@storybook/react-vite": "^8.3.0",
"@storybook/test": "^8.3.0",
"@storybook/addon-essentials": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/addon-themes": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/blocks": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/experimental-addon-test": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/manager-api": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/react": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/react-vite": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/test": "0.0.0-pr-29353-sha-3b7a5f8f",
"@storybook/test-runner": "^0.19.1",
"@storybook/theming": "^8.3.0",
"@storybook/theming": "0.0.0-pr-29353-sha-3b7a5f8f",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.1",
Expand Down Expand Up @@ -116,7 +115,7 @@
"prettier": "^3.2.5",
"react-is": "^18.3.1",
"react-test-renderer": "^18.3.1",
"storybook": "^8.3.0",
"storybook": "0.0.0-pr-29353-sha-3b7a5f8f",
"vite": "^4.0.0",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.2",
Expand Down
Loading

0 comments on commit 13f5b99

Please sign in to comment.