wgblas
    Preparing search index...

    Function runValidation

    • Runs all invalid and edge cases defined in specs against call.

      Invalid cases assert that the routine throws with the expected message. Edge cases assert that the routine does not throw.

      Parameters

      • t: any

        node:test context

      • specs: any

        record mapping param names to their loaded JSON specs

      • call: any

        function that invokes the routine under test with an args object

      • runtimeBaselines: {} = {}

        values that cannot be defaulted statically (e.g. { device })

      Returns Promise<void>

      promise that resolves when all cases pass