From ced811fc2362ddb3fa954f1d0c30829497e2512c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 7 Feb 2023 18:35:22 +0000 Subject: [PATCH] Another quick fix. --- packages/server/src/api/routes/tests/query.seq.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/api/routes/tests/query.seq.spec.js b/packages/server/src/api/routes/tests/query.seq.spec.js index 699d95fea2..d7481fd224 100644 --- a/packages/server/src/api/routes/tests/query.seq.spec.js +++ b/packages/server/src/api/routes/tests/query.seq.spec.js @@ -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) })