From 88b7e6a3462e949774fd2bbf8c7ce98d80c3b41d Mon Sep 17 00:00:00 2001 From: atamano Date: Sun, 1 Oct 2023 19:16:12 +0200 Subject: [PATCH] test: uncomment tests --- tests/query.test.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/query.test.ts b/tests/query.test.ts index 8e1808e..36dd195 100644 --- a/tests/query.test.ts +++ b/tests/query.test.ts @@ -197,16 +197,16 @@ describe('query', () => { path: `$..[?(@.number==1)]`, expected: [{ number: 1, exist: true }], }, - // { - // payload: [{ number: 1, exist: true }], - // path: `$..[?(@.number==1)]`, - // expected: [{ number: 1, exist: true }], - // }, - // { - // payload: PAYLOAD, - // path: `$..[?(@.number < 2 )]`, - // expected: [{ number: 1, exist: true }], - // }, + { + payload: [{ number: 1, exist: true }], + path: `$..[?(@.number==1)]`, + expected: [{ number: 1, exist: true }], + }, + { + payload: PAYLOAD, + path: `$..[?(@.number < 2 )]`, + expected: [{ number: 1, exist: true }], + }, { payload: PAYLOAD, path: `$..nested[?(@.number>=2)]`,