Skip to content

createTestGate

function createTestGate(options?): FlagsHooks;

Defined in: hooks/test-gate.ts:126

Build a before hook that runs pinned flag tests on publish and throws HookDeniedError (default status 422) listing any regressions.

Parameter Type
options? TestGateOptions

FlagsHooks