Skip to main content
Module

x/typeorm/test/utils/test-utils.ts>setupSingleTestingConnection

Forked from https://github.com/typeorm/typeorm
Latest
function setupSingleTestingConnection
import { setupSingleTestingConnection } from "https://deno.land/x/typeorm@v0.2.23-rc10/test/utils/test-utils.ts";

Creates a testing connection options for the given driver type based on the configuration in the ormconfig.json and given options that can override some of its configuration for the test-specific use case.

Parameters

driverType: DatabaseType
options: TestingOptions

Returns

ConnectionOptions | undefined