Skip to content

Commit

Permalink
Merge pull request #29011 from storybookjs/fix-vitest-postinstall-ind…
Browse files Browse the repository at this point in the history
…entation

Addon Vitest: Fix indentation of 'vitePluginNext' in generated Vitest config file
  • Loading branch information
yannbf authored Sep 2, 2024
2 parents 411c3cc + f4ab3a4 commit f3a34cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/vitest/src/postinstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default async function postInstall(options: PostinstallOptions) {
{
extends: '${viteConfig ? relative(dirname(browserWorkspaceFile), viteConfig) : ''}',
plugins: [
storybookTest(),${vitestInfo.frameworkPluginCall ? '\n' + vitestInfo.frameworkPluginCall : ''}
storybookTest(),${vitestInfo.frameworkPluginCall ? '\n ' + vitestInfo.frameworkPluginCall : ''}
],
test: {
browser: {
Expand Down

0 comments on commit f3a34cb

Please sign in to comment.