From 373416b771745120db26de3437d738ee7018426a Mon Sep 17 00:00:00 2001 From: Robbie Coomber Date: Thu, 28 Sep 2023 16:26:37 +0100 Subject: [PATCH] Fix tests --- .../lib/components/VersionChecker/versionCheckerLogic.test.ts | 2 +- .../playlist/sessionRecordingsListPropertiesLogic.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/VersionChecker/versionCheckerLogic.test.ts b/frontend/src/lib/components/VersionChecker/versionCheckerLogic.test.ts index 52cfe0740f596..1b3e8a96abe15 100644 --- a/frontend/src/lib/components/VersionChecker/versionCheckerLogic.test.ts +++ b/frontend/src/lib/components/VersionChecker/versionCheckerLogic.test.ts @@ -15,7 +15,7 @@ const useMockedVersions = (githubVersions: SDKVersion[], usedVersions: SDKVersio '/api/projects/:team/query': () => [ 200, { - results: usedVersions.map((x) => [x.version, x.timestamp]), + result: usedVersions.map((x) => [x.version, x.timestamp]), }, ], }, diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListPropertiesLogic.test.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListPropertiesLogic.test.ts index 959e885399cc6..3f429c2cb90d6 100644 --- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListPropertiesLogic.test.ts +++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListPropertiesLogic.test.ts @@ -36,7 +36,7 @@ describe('sessionRecordingsListPropertiesLogic', () => { useMocks({ post: { '/api/projects/:team/query': { - results: [ + result: [ ['s1', JSON.stringify({ blah: 'blah1' })], ['s2', JSON.stringify({ blah: 'blah2' })], ],