From 57006bfd8dcf8e7aff6f51bb40ac54299b913df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Thu, 11 Apr 2024 13:56:10 +0100 Subject: [PATCH] WIP --- web/src/components/storage/ProposalPage.test.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/storage/ProposalPage.test.jsx b/web/src/components/storage/ProposalPage.test.jsx index bc20c409da..4a21a31bd0 100644 --- a/web/src/components/storage/ProposalPage.test.jsx +++ b/web/src/components/storage/ProposalPage.test.jsx @@ -145,7 +145,7 @@ beforeEach(() => { storage = { probe: jest.fn().mockResolvedValue(0), - // @ts-expect-error Some methods have to be privated to avoid type complaint. + // @ts-expect-error Some methods have to be private to avoid type complaint. proposal: { getAvailableDevices: jest.fn().mockResolvedValue([vda, vdb]), getEncryptionMethods: jest.fn().mockResolvedValue([]), @@ -154,11 +154,11 @@ beforeEach(() => { defaultVolume: jest.fn(mountPath => Promise.resolve(volume(mountPath))), calculate: jest.fn().mockResolvedValue(0), }, - // @ts-expect-error Some methods have to be privated to avoid type complaint. + // @ts-expect-error Some methods have to be private to avoid type complaint. system: { getDevices: jest.fn().mockResolvedValue([vda, vdb]) }, - // @ts-expect-error Some methods have to be privated to avoid type complaint. + // @ts-expect-error Some methods have to be private to avoid type complaint. staging: { getDevices: jest.fn().mockResolvedValue([vda]) },