From cbacc5ffa44ee4fdc93e017b68eba4e8646948d4 Mon Sep 17 00:00:00 2001 From: Philzen Date: Sun, 29 Dec 2024 21:57:30 +0100 Subject: [PATCH] Update test to expect new web/.storybook folder --- .../src/__tests__/paths.test.ts | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/project-config/src/__tests__/paths.test.ts b/packages/project-config/src/__tests__/paths.test.ts index 7446c131d90d..1814d1bd30c8 100644 --- a/packages/project-config/src/__tests__/paths.test.ts +++ b/packages/project-config/src/__tests__/paths.test.ts @@ -129,15 +129,15 @@ describe('paths', () => { storybookConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.config.js', + '.storybook', + 'main.js', ), storybookPreviewConfig: null, storybookManagerConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.manager.js', + '.storybook', + 'manager.js', ), dist: path.join(FIXTURE_BASEDIR, 'web', 'dist'), distSsrEntryServer: path.join( @@ -403,15 +403,15 @@ describe('paths', () => { storybookConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.config.js', + '.storybook', + 'main.js', ), storybookPreviewConfig: null, storybookManagerConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.manager.js', + '.storybook', + 'manager.js', ), dist: path.join(FIXTURE_BASEDIR, 'web', 'dist'), distSsrDocument: path.join( @@ -724,15 +724,15 @@ describe('paths', () => { storybookConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.config.js', + '.storybook', + 'main.js', ), storybookPreviewConfig: null, storybookManagerConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.manager.js', + '.storybook', + 'manager.js', ), entryClient: null, entryServer: null, @@ -1002,15 +1002,15 @@ describe('paths', () => { storybookConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.config.js', + '.storybook', + 'main.js', ), storybookPreviewConfig: null, storybookManagerConfig: path.join( FIXTURE_BASEDIR, 'web', - 'config', - 'storybook.manager.js', + '.storybook', + 'manager.js', ), dist: path.join(FIXTURE_BASEDIR, 'web', 'dist'), distSsrEntryServer: path.join(