@wpazderski/playwright-utils
    Preparing search index...
    • Compares value with expected by calling Object.is. This method compares objects by reference instead of their contents, similarly to the strict equality operator ===.

      Usage

      const value = { prop: 1 };
      expect(value).toBe(value);
      expect(value).not.toBe({});
      expect(value.prop).toBe(1);

      Parameters

      • internalOptions: MatcherInternalOptions

        Internal options that provide extra context for the matcher.

      • received: unknown

        Received value.

      • expected: unknown

        Expected value.

      Returns void