Skip to content

bintastic / CreateBintasticResult

Interface: CreateBintasticResult<TProject> ​

Defined in: create-bintastic.ts:125

The result returned by createBintastic.

Type Parameters ​

TProject ​

TProject extends BintasticProject

Properties ​

runBin ​

runBin: RunBin

Defined in: create-bintastic.ts:129

Runs the configured bin function via execa.


runBinDebug ​

runBinDebug: RunBin

Defined in: create-bintastic.ts:147

Runs the configured bin with Node inspector enabled in attach mode (--inspect). Set BINTASTIC_DEBUG=break to break on first line instead.


setupProject ​

setupProject: () => Promise<TProject>

Defined in: create-bintastic.ts:133

Sets up the specified project for use within tests.

Returns ​

Promise<TProject>


setupTmpDir ​

setupTmpDir: () => Promise<string>

Defined in: create-bintastic.ts:137

Sets up a tmp directory for use within tests.

Returns ​

Promise<string>


teardownProject ​

teardownProject: () => void

Defined in: create-bintastic.ts:142

Tears the project down, ensuring the tmp directory is removed. When BINTASTIC_DEBUG is set, fixtures are preserved for inspection.

Returns ​

void