Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Apr 11, 2024
1 parent a7a833e commit 57006bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/storage/ProposalPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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([]),
Expand All @@ -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])
},
Expand Down

0 comments on commit 57006bf

Please sign in to comment.