Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tests: Drop obsolete Storybook optimizer workaround
  • Loading branch information
ciampo committed Oct 2, 2026
commit 4db8b6408694b06fbed0535c6339403e425cb2fa
4 changes: 0 additions & 4 deletions storybook/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import { storybookTest } from '@storybook/addon-vitest/vitest-plugin';
const configDir = import.meta.dirname;

export default defineConfig( {
// `storybook/test` is served unbundled, and the optimizer only discovers
// its CommonJS dependencies when they sit in the Vite root's
// `node_modules`. Pre-bundle them from the package that owns them.
optimizeDeps: { include: [ 'storybook > @testing-library/dom' ] },
plugins: [
storybookTest( {
configDir,
Expand Down