RegisterInitializer
registerInitializer
Registers a TestDbInitializer for the given database type. Should be called before invoking createTestEnvironment.
Signature
function registerInitializer(type: DataSourceOptions['type'], initializer: TestDbInitializer<any>): void
Parameters
type
parameter
DataSourceOptions['type']
initializer
parameter
TestDbInitializer<any>