Traqula
    Preparing search index...

    Function objectsEqual

    • Framework-agnostic implementation of the toEqualParsedQuery and toEqualParsedQueryIgnoring matchers.

      The exported parsedQueryMatchers object can be passed directly to expect.extend(...) in any test framework that follows the jest-style matcher API (vitest, jest, ...). Framework-specific side-effect modules live next to this file (e.g. toEqualParsedQuery.ts for vitest).

      Parameters

      • received: unknown
      • expected: unknown
      • selector: (obj: object) => boolean
      • ignoreKeys: string[]

      Returns boolean