Skip to content

Commit 6262d7f

Browse files
committed
Setup test runner
1 parent 32694bb commit 6262d7f

File tree

2 files changed

+3276
-51
lines changed

2 files changed

+3276
-51
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"preview": "vite preview",
2626
"storybook": "storybook dev -p 6006",
2727
"build-storybook": "storybook build",
28-
"init-msw": "msw init public/"
28+
"init-msw": "msw init public/",
29+
"test-storybook": "test-storybook"
2930
},
3031
"devDependencies": {
3132
"@eslint/js": "^9.9.0",
@@ -37,6 +38,7 @@
3738
"@storybook/react": "^8.5.6",
3839
"@storybook/react-vite": "^8.5.6",
3940
"@storybook/test": "^8.5.6",
41+
"@storybook/test-runner": "^0.21.1",
4042
"@types/react": "^18.3.3",
4143
"@types/react-dom": "^18.3.0",
4244
"@vitejs/plugin-react": "^4.3.1",
@@ -68,4 +70,4 @@
6870
"public"
6971
]
7072
}
71-
}
73+
}

0 commit comments

Comments
 (0)