AssertEqual: ((actual, expected, optDetails?, ErrorConstructor?) => void)

Type declaration

    • (actual, expected, optDetails?, ErrorConstructor?): void
    • The assert.equal method

      Assert that two values must be Object.is.

      Parameters

      • actual: any

        The value we received

      • expected: any

        What we wanted

      • Optional optDetails: Details

        The details to throw

      • Optional ErrorConstructor: ErrorConstructor

        An optional alternate error constructor to use.

      Returns void

Generated using TypeDoc