Fix test types

This commit is contained in:
Adria Navarro 2024-12-30 22:08:52 +01:00
parent 07416e3e4a
commit 066586e0a2
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,7 @@ if (descriptions.length) {
visible: true, visible: true,
}, },
}, },
rowHeight: generator.integer(),
} }
const res = await config.api.viewV2.create(newView) const res = await config.api.viewV2.create(newView)
@ -224,6 +225,7 @@ if (descriptions.length) {
visible: true, visible: true,
}, },
}, },
rowHeight: generator.integer(),
} }
const res = await config.api.viewV2.create(newView) const res = await config.api.viewV2.create(newView)
expect(events.view.created).toHaveBeenCalledTimes(1) expect(events.view.created).toHaveBeenCalledTimes(1)
@ -1069,6 +1071,7 @@ if (descriptions.length) {
readonly: true, readonly: true,
}, },
}, },
rowHeight: generator.integer(),
} }
await config.api.viewV2.update(updatedData) await config.api.viewV2.update(updatedData)