Fix test types
This commit is contained in:
parent
07416e3e4a
commit
066586e0a2
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue