elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / test/setup / isolatedImportFactory
isolatedImportFactory<
T
>(__namedParameters
): () =>T
• T = unknown
• __namedParameters
• __namedParameters.path: string
Path to the module to import. Module resolution is handled by require
.
• __namedParameters.useDefault?: boolean
By default, only if module.__esModule === true
, the default export will
be returned instead. Use useDefault
to override this behavior in either
direction.
Function
T