From 3e5e8d737a52a6418ab5ffcccbb030d8d9a3515f Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 21 Sep 2021 22:18:08 +1000 Subject: [PATCH] Fix issue with `ClientApi` tests --- lib/client-api/src/ClientApi.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/client-api/src/ClientApi.test.ts b/lib/client-api/src/ClientApi.test.ts index e7a64b67d05..e1b27481d16 100644 --- a/lib/client-api/src/ClientApi.test.ts +++ b/lib/client-api/src/ClientApi.test.ts @@ -102,6 +102,7 @@ describe('ClientApi', () => { const store = { processCSFFileWithCache: jest.fn(() => ({ meta: { title: 'title' } })), storyFromCSFFile: jest.fn(({ storyId }) => ({ + id: storyId, parameters: { fileName: storyId.split('-')[0].replace('kind', 'file') }, })), };