Skip to main content

RegisterInitializer

Registers a TestDbInitializer for the given database type. Should be called before invoking createTestEnvironment.

Signature

Parameters

type

parameterDataSourceOptions['type']

initializer

parameterTestDbInitializer<any>
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page