@nevware21/tripwire-chai - v0.1.4
    Preparing search index...

    Function expect

    • Creates a new expect object with the given value and message.

      NOTE: The Chai expect BDD-style API is not yet implemented in this shim. This function will throw an error if called. Please use the assert API instead via chaiAssert export.

      The expect API requires a complex chainable assertion DSL that is not yet available. Contributions to implement this functionality are welcome!

      Type Parameters

      • T

      Parameters

      • value: T

        The value to create the context object with.

      • OptionalinitMsg: string

        The message to create the context object with.

      Returns Assert

      An AssertionError always throws indicating the feature is not implemented.

      chaiAssert for the implemented assert-style API