Another quick fix.
This commit is contained in:
parent
e96139f587
commit
ced811fc23
|
@ -242,6 +242,7 @@ describe("/queries", () => {
|
|||
})
|
||||
expect(res.body.rows.length).toEqual(1)
|
||||
expect(events.query.previewed).toBeCalledTimes(1)
|
||||
delete datasource.config
|
||||
expect(events.query.previewed).toBeCalledWith(datasource, query)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue