Function assertJsonEqual

  • Asserts that the inputs are equal via JSON.stringify (property order on objects does not matter).

    Parameters

    • a: Readonly<JsonCompatibleValue>
    • b: Readonly<JsonCompatibleValue>

    Returns void

    JsonStringifyError if the inputs fail when passed to JSON.stringify.

    AssertionError if the assertion fails.