• Use this to stub out methods that will throw when invoked.

    Parameters

    • Optional msg: string

    Returns never

    Since

    24.7.0

    Example

    import { unimplemented } from "assert";

    unimplemented(); // Throws