Skip to content

Commit

Permalink
web: Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed May 2, 2024
1 parent b397231 commit 1460a2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/storage/PartitionsField.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ beforeEach(() => {
props = {
volumes: [rootVolume, swapVolume],
templates: [],
devices: [],
system: [sda],
availableDevices: [],
volumeDevices: [sda],
target: "DISK",
targetDevice: undefined,
targetDevices: [],
configureBoot: false,
bootDevice: undefined,
defaultBootDevice: undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ beforeEach(() => {
installationDevices: [sda, sdb]
},
availableDevices: [],
volumeDevices: [],
encryptionMethods: [],
volumeTemplates: [],
onChange: jest.fn()
Expand Down

0 comments on commit 1460a2d

Please sign in to comment.