diff --git a/packages/server/src/automations/tests/filter.spec.js b/packages/server/src/automations/tests/filter.spec.js index f11841f7c9..5fa5e0e202 100644 --- a/packages/server/src/automations/tests/filter.spec.js +++ b/packages/server/src/automations/tests/filter.spec.js @@ -6,7 +6,8 @@ describe("test the filter logic", () => { let res = await setup.runStep(setup.actions.FILTER.stepId, { field, condition, value } ) - expect(res.success).toEqual(pass) + expect(res.result).toEqual(pass) + expect(res.success).toEqual(true) } it("should be able test equality", async () => {