diff --git a/tests/store.test.ts b/tests/store.test.ts index a7a45f5..8eeaeb1 100644 --- a/tests/store.test.ts +++ b/tests/store.test.ts @@ -269,6 +269,7 @@ describe("PostgresStore.checkSchema", () => { "consumed_at IS NULL", ]); expect(predicateConditions("(s = 'x AND (y'::text)")).toEqual(["s = 'x AND (y'::text"]); + expect(predicateConditions('(("odd AND (name" IS NULL) AND b)')).toEqual(['"odd AND (name" IS NULL', "b"]); expect(predicateConditions("")).toEqual([]); });