Skip to content

Commit

Permalink
fix: Remove attributes for useInstanceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Nov 20, 2024
1 parent 18eb710 commit f0ed531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Bar.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('Bar', () => {
shouldDisplayOffers.mockReturnValue(false)
useInstanceInfo.mockReturnValue({
isLoaded: true,
diskUsage: { data: { attributes: { used: 0 } } }
diskUsage: { data: { used: 0 } }
})
})

Expand Down
2 changes: 1 addition & 1 deletion src/components/Drawer.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('bar', () => {
jest.resetAllMocks()
useInstanceInfo.mockReturnValue({
isLoaded: true,
diskUsage: { data: { attributes: { used: 0 } } }
diskUsage: { data: { used: 0 } }
})
})

Expand Down

0 comments on commit f0ed531

Please sign in to comment.