Skip to main content

Type Alias: PropertyHookFunction

PropertyHookFunction = (globalHookFunction) => void

Defined in: packages/fast-check/src/check/property/Property.generic.ts:24

Type of legal hook function that can be used to call beforeEach or afterEach on a IPropertyWithHooks

Parameters

ParameterType
globalHookFunctionGlobalPropertyHookFunction

Returns

void

Deprecated

Prefer beforeEach and/or afterEach plugins: fc.assert(property, { plugins: [fc.beforeEach(fn)] })

Remarks

Since 2.2.0