Home / Class/ TestContext Class — drizzle-orm Architecture

TestContext Class — drizzle-orm Architecture

Architecture documentation for the TestContext class in mysql-common.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  8b384909_b877_5e3a_a73c_0a700c70f865["TestContext"]
  bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5["mysql-common.ts"]
  8b384909_b877_5e3a_a73c_0a700c70f865 -->|defined in| bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5

Relationship Graph

Source Code

integration-tests/tests/mysql/mysql-common.ts lines 84–93

declare module 'vitest' {
	interface TestContext {
		mysql: {
			db: TestMySQLDB;
		};
		mysqlProxy: {
			db: MySqlRemoteDatabase;
		};
	}
}

Domain

Frequently Asked Questions

What is the TestContext class?
TestContext is a class in the drizzle-orm codebase, defined in integration-tests/tests/mysql/mysql-common.ts.
Where is TestContext defined?
TestContext is defined in integration-tests/tests/mysql/mysql-common.ts at line 84.

Analyze Your Own Codebase

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

Try Supermodel Free