From e87a55dba7d4cbc0c9b9cb109665606b95bb20f1 Mon Sep 17 00:00:00 2001 From: "andrew.borg" Date: Wed, 13 Nov 2024 21:19:33 +0100 Subject: [PATCH] feat(core): Work on introspection v2 --- test/engine.spec.ts | 2 +- test/rulesets/sub-rules-valid2.json.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/engine.spec.ts b/test/engine.spec.ts index 1c1e08b..3b96f9b 100644 --- a/test/engine.spec.ts +++ b/test/engine.spec.ts @@ -299,7 +299,7 @@ describe("RulePilot engine correctly", () => { expect( await RulePilot.evaluate(subRulesValid2Json, { Category: "Demo", - Leverage: 600, + Leverage: 500, CountryIso: "GB", Monetization: "Real", }) diff --git a/test/rulesets/sub-rules-valid2.json.ts b/test/rulesets/sub-rules-valid2.json.ts index 6f011a1..d0163ed 100644 --- a/test/rulesets/sub-rules-valid2.json.ts +++ b/test/rulesets/sub-rules-valid2.json.ts @@ -110,7 +110,7 @@ export const subRulesValid2Json: Rule = { { field: "Leverage", operator: ">", - value: 500, + value: 400, }, { field: "Monetization",