Another quick fix.
This commit is contained in:
parent
e96139f587
commit
ced811fc23
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue