Home / Type/ TestContext Type — drizzle-orm Architecture

TestContext Type — drizzle-orm Architecture

Architecture documentation for the TestContext type/interface in pg-common.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  6fcd4d61_2730_aeac_fac2_ca7bc60f8b86["TestContext"]
  6b4b5478_1e31_3c5f_fd80_52b37d2daf24["pg-common.ts"]
  6fcd4d61_2730_aeac_fac2_ca7bc60f8b86 -->|defined in| 6b4b5478_1e31_3c5f_fd80_52b37d2daf24
  style 6fcd4d61_2730_aeac_fac2_ca7bc60f8b86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/pg/pg-common.ts lines 101–108

	interface TestContext {
		pg: {
			db: PgDatabase<PgQueryResultHKT>;
		};
		neonPg: {
			db: NeonHttpDatabase<typeof schema>;
		};
	}

Frequently Asked Questions

What is the TestContext type?
TestContext is a type/interface in the drizzle-orm codebase, defined in integration-tests/tests/pg/pg-common.ts.
Where is TestContext defined?
TestContext is defined in integration-tests/tests/pg/pg-common.ts at line 101.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free