summaryrefslogtreecommitdiff
path: root/tests/parser.spec.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-01-08 21:17:10 +0530
committerAkshay Nair <phenax5@gmail.com>2022-01-08 21:17:10 +0530
commitb3b2c39df680f88e1e6d3615245754ae5f0380d0 (patch)
tree4af350ce393244d2c8dbcfdb0bd46cbb91ee41ef /tests/parser.spec.ts
parente246f2341ee13926f4273c6d634cef4fe07f040e (diff)
downloadelxr-b3b2c39df680f88e1e6d3615245754ae5f0380d0.tar.gz
elxr-b3b2c39df680f88e1e6d3615245754ae5f0380d0.zip
feat(eval): implements object property matching
Diffstat (limited to 'tests/parser.spec.ts')
-rw-r--r--tests/parser.spec.ts5
1 files changed, 4 insertions, 1 deletions
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,