Skip to content

bintastic / createBintastic

Function: createBintastic() ​

createBintastic<TProject>(options): CreateBintasticResult<TProject>

Defined in: create-bintastic.ts:128

Creates the bintastic API functions to use within tests.

The returned functions share one active Project. It is idle until setupProject, active until teardownProject, and preserved at teardown when any Run against it was in Debug mode or BINTASTIC_DEBUG is on in the process env.

Type Parameters ​

TProject ​

TProject extends BintasticProject

Parameters ​

options ​

BintasticOptions<TProject>

An object of bintastic options

Returns ​

CreateBintasticResult<TProject>

  • A project instance.