Skip to content

Commit 46e1431

Browse files
committed
chore(storybook): update integration test command
Replace `vitest run --project storybook` with `pnpm test:integration` for consistency across the project. Also add a note about tagging integration tests for better organization.
1 parent 5f8f44b commit 46e1431

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ui/AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ src/index.ts # Entry point with style injection side effect
3131

3232
## TESTING
3333
- Vitest + jsdom for unit tests (`*.test.tsx`)
34-
- Playwright for Storybook integration tests (`vitest run --project storybook`)
34+
- Playwright for Storybook integration tests (`pnpm test:integration`)
35+
- All Storybook tests with a play function need to have a `tags: ['integration']`
3536
- Test setup: `src/test/setup.ts`
3637

3738
## BUILD ORDER

0 commit comments

Comments
 (0)