Fix test
This commit is contained in:
parent
5a45ebcebc
commit
c0a2482a4e
|
@ -129,10 +129,11 @@ describe("Google Sheets Integration", () => {
|
||||||
})
|
})
|
||||||
expect(sheet.loadHeaderRow).toHaveBeenCalledTimes(1)
|
expect(sheet.loadHeaderRow).toHaveBeenCalledTimes(1)
|
||||||
expect(sheet.setHeaderRow).toHaveBeenCalledTimes(1)
|
expect(sheet.setHeaderRow).toHaveBeenCalledTimes(1)
|
||||||
expect(sheet.setHeaderRow).toHaveBeenCalledWith(["name"])
|
expect(sheet.setHeaderRow).toHaveBeenCalledWith([
|
||||||
|
"name",
|
||||||
// No undefined are sent
|
"description",
|
||||||
expect((sheet.setHeaderRow as any).mock.calls[0][0]).toHaveLength(1)
|
"location",
|
||||||
|
])
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue