API Core - v1.5.0
    Preparing search index...

    Function mock

    • The partial-double boundary: hands the overrides back as the full type, so a test names the members it exercises and nothing else.

      Type Parameters

      • T extends object

        The full type the double stands in for.

      Parameters

      • Optionalvalue: Partial<T>

        The members the test exercises.

      Returns T

      The same object, typed as the full T.