Type alias TapPlugin<B, O>

TapPlugin<B, O>: unknown extends O
    ? ((t) => B)
    : ((t, opts) => B)

The plugin export from any tap plugin

Type Parameters

  • B extends Object

    the return value of the plugin

  • O extends TestBaseOpts | any = unknown

    test options added by this plugin

Generated using TypeDoc