@nevware21/tripwire - v0.1.8
    Preparing search index...

    Function useSuite

    Export suite functions

    • Temporarily use a different suite context Useful for testing the suite module itself without polluting the global suite

      Parameters

      • suite: ITestSuite

        The suite to use as the temporary root

      • callback: SuiteFn

        Function to execute with the temporary suite context (can be sync or async)

      Returns void | IPromise<void>

      A promise if the callback is async, otherwise void

      0.2.0