[READ-ONLY] Mirror of https://github.com/crutchcorn/cli-testing-library. 🐨 Simple and complete CLI testing utilities that encourage good tes cli-testing.com
cli-testing-library docs reference functions bindObjectFnsToInstance.md
650 B · 29 lines
Markdown
at main


id: bindObjectFnsToInstance title: bindObjectFnsToInstance #

Function: bindObjectFnsToInstance() #

function bindObjectFnsToInstance(instance, object): Record<string, (...props) => unknown>;

Defined in: helpers.ts:76

This is used to bind a series of functions where instance is the first argument to an instance, removing the implicit first argument.

Parameters #

instance #

TestInstance

object #

Record<string, (...props) => unknown>

Returns #

Record<string, (...props) => unknown>