From f4ab3a4215c13e267b82ff1f8fc526c67d52ce31 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 30 Aug 2024 15:46:29 +0200 Subject: [PATCH] Fix indentation of 'vitePluginNext' in generated Vitest config file --- code/addons/vitest/src/postinstall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/addons/vitest/src/postinstall.ts b/code/addons/vitest/src/postinstall.ts index 3ffcd813628e..368c6f7a1234 100644 --- a/code/addons/vitest/src/postinstall.ts +++ b/code/addons/vitest/src/postinstall.ts @@ -130,7 +130,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: {