diff --git a/app/react/src/server/framework-preset-react.test.ts b/app/react/src/server/framework-preset-react.test.ts index 653fd063b3f5..8ddb0898d3a8 100644 --- a/app/react/src/server/framework-preset-react.test.ts +++ b/app/react/src/server/framework-preset-react.test.ts @@ -43,7 +43,7 @@ describe('framework-preset-react', () => { it('should return a config with fast refresh plugin when fast refresh is enabled', async () => { const config = await preset.babel(babelConfigMock, storybookOptions as StorybookOptions); - expect(config.plugins).toEqual([reactRefreshPath]); + expect(config.plugins).toEqual([[reactRefreshPath, {}, 'storybook-react-refresh']]); }); it('should return unchanged config without fast refresh plugin when fast refresh is disabled', async () => {