CSF: Add base factories #43339
Annotations
10 errors
src/__test__/portable-stories-factory.test.tsx:
code/core/dist/csf/index.js#L48
Error: Not implemented
❯ Object.get composed [as composed] ../../core/dist/csf/index.js:48:13
❯ src/__test__/Button.csf4.stories.tsx:91:6
❯ src/__test__/portable-stories-factory.test.tsx:20:1
|
../core/template/stories/shortcuts.stories.ts > Keydown During Play:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/core-shortcuts--keydown-during-play&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/mobile/about/MobileAbout.stories.tsx > Default:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-mobile-about--default&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/mobile/about/MobileAbout.stories.tsx > Dark:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-mobile-about--dark&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/mobile/about/MobileAbout.stories.tsx > Closed:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-mobile-about--closed&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/preview/Iframe.stories.tsx:
code/.storybook/storybook.setup.ts#L29
Error: Vitest failed to find the current suite. This is a bug in Vitest. Please, open an issue with reproduction.
❯ storybook.setup.ts:29:0
|
../core/src/manager/components/sidebar/Sidebar.stories.tsx > Simple:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-sidebar-sidebar--simple&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/sidebar/Sidebar.stories.tsx > Simple In Production:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-sidebar-sidebar--simple-in-production&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/sidebar/Sidebar.stories.tsx > Loading:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-sidebar-sidebar--loading&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|
../core/src/manager/components/sidebar/Sidebar.stories.tsx > Empty:
code/vitest-setup.ts#L26
Error:
Click to debug the error directly in Storybook: http://localhost:6006/?path=/story/manager-sidebar-sidebar--empty&addonPanel=storybook/test/panel
error: Warning: An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
❯ throwMessage ../vitest-setup.ts:26:16
❯ console.throwError ../vitest-setup.ts:32:37
|