From 24148ad353d15ab00b88eb507f8da2f5e777861d Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Thu, 2 May 2024 13:51:13 +0200 Subject: [PATCH] update stories --- .../src/modules/store/csf/portable-stories.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts b/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts index e212e4ba12be..90115c5aeceb 100644 --- a/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts +++ b/code/lib/preview-api/src/modules/store/csf/portable-stories.test.ts @@ -260,7 +260,7 @@ describe('composeStory', () => { const cleanupSpy = vi.fn(); const beforeEachSpy = vi.fn(() => { return () => { - cleanupSpy('cleanup from story'); + cleanupSpy(); }; }); @@ -292,7 +292,7 @@ describe('composeStory', () => { ` "Some stories were not cleaned up before rendering 'Unnamed Story (firstArg, secondArg)'. You should load the story with \`await Story.load()\` before rendering it. - See XYZ for more information." + See https://storybook.js.org/docs/api/portable-stories-vitest#3-load for more information." ` ); });