From b3b2c39df680f88e1e6d3615245754ae5f0380d0 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 8 Jan 2022 21:17:10 +0530 Subject: feat(eval): implements object property matching --- tests/parser.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/parser.spec.ts') diff --git a/tests/parser.spec.ts b/tests/parser.spec.ts index 1ebd290..4db0894 100644 --- a/tests/parser.spec.ts +++ b/tests/parser.spec.ts @@ -91,7 +91,10 @@ describe('Foobar', () => { [ none, [ - Expr.PropertyMatch({ name: 'name', exprs: [Expr.AnyString(null), Expr.Truthy(null)] }), + Expr.PropertyMatch({ + name: 'name', + exprs: [Expr.AnyString(null), Expr.Truthy(null)], + }), Expr.PropertyMatch({ name: 'age', exprs: [Expr.AnyNumber(null)] }), ], none, -- cgit v1.3.1