Home / File/ vitest.config.ts — drizzle-orm Source File

vitest.config.ts — drizzle-orm Source File

Architecture documentation for vitest.config.ts, a typescript file in the drizzle-orm codebase. 3 imports, 0 dependents.

File typescript 3 imports

Entity Profile

Dependency Diagram

graph LR
  d5d2fbac_706a_1990_2637_0aaf50f6a56c["vitest.config.ts"]
  c440e00a_e318_94ac_100c_9843a182c7a4["config"]
  d5d2fbac_706a_1990_2637_0aaf50f6a56c --> c440e00a_e318_94ac_100c_9843a182c7a4
  d8713163_49a4_0eb4_6afe_c7dac83c5202["vite-tsconfig-paths"]
  d5d2fbac_706a_1990_2637_0aaf50f6a56c --> d8713163_49a4_0eb4_6afe_c7dac83c5202
  c984b666_5ef8_8a96_93a9_eeee6e76fcb4["config"]
  d5d2fbac_706a_1990_2637_0aaf50f6a56c --> c984b666_5ef8_8a96_93a9_eeee6e76fcb4
  style d5d2fbac_706a_1990_2637_0aaf50f6a56c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import 'dotenv/config';
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';

export default defineConfig({
	test: {
		include: [
			'tests/seeder/**/*.test.ts',
			'tests/extensions/postgis/**/*',
			'tests/relational/**/*.test.ts',
			'tests/pg/**/*.test.ts',
			'tests/mysql/**/*.test.ts',
			'tests/singlestore/**/*.test.ts',
			'tests/sqlite/**/*.test.ts',
			'tests/replicas/**/*',
			'tests/imports/**/*',
			'tests/extensions/vectors/**/*',
			'tests/version.test.ts',
			'tests/pg/node-postgres.test.ts',
			'tests/utils/is-config.test.ts',
			'js-tests/driver-init/commonjs/*.test.cjs',
			'js-tests/driver-init/module/*.test.mjs',
			'tests/gel/**/*.test.ts',
		],
		exclude: [
			...(process.env.SKIP_EXTERNAL_DB_TESTS
				? [
					'tests/relational/mysql.planetscale.test.ts',
					'tests/pg/neon-serverless.test.ts',
					'tests/mysql/tidb-serverless.test.ts',
					'tests/mysql/mysql-planetscale.test.ts',
					'tests/sqlite/libsql.test.ts',
					'tests/sqlite/libsql-batch.test.ts',
					'tests/pg/neon-http.test.ts',
					'tests/pg/neon-http-batch.test.ts',
					'tests/utils/is-config.test.ts', // Uses external DBs in some cases
					'js-tests/driver-init/commonjs/neon-http.test.cjs',
					'js-tests/driver-init/commonjs/neon-ws.test.cjs',
					'js-tests/driver-init/commonjs/planetscale.test.cjs',
					'js-tests/driver-init/commonjs/tidb.test.cjs',
					'js-tests/driver-init/commonjs/vercel.test.cjs',
					'js-tests/driver-init/module/neon-http.test.mjs',
					'js-tests/driver-init/module/neon-ws.test.mjs',
					'js-tests/driver-init/module/planetscale.test.mjs',
					'js-tests/driver-init/module/tidb.test.mjs',
					'js-tests/driver-init/module/vercel.test.mjs',
				]
				: []),
			'tests/pg/awsdatapi.test.ts',
			'tests/awsdatapi.alltypes.test.ts',
			'tests/pg/vercel-pg.test.ts',
			'tests/relational/vercel.test.ts',
			// Have a strange "invalid SQL: ERROR: must be owner of schema public" error. Will need to check with xata team
			'tests/pg/xata-http.test.ts',
			'tests/pg/neon-http-batch.ts',
			// todo: remove
			'js-tests/driver-init/module/vercel.test.mjs',
			'js-tests/driver-init/commonjs/vercel.test.cjs',
			// move back after decide on speed
			'tests/sqlite/libsql-ws.test.ts',
			'tests/sqlite/libsql-http.test.ts',
			'tests/mysql/tidb-serverless.test.ts',
			// waiting for json_array from singlestore team
			'tests/relational/singlestore.test.ts',
			'js-tests/driver-init/module/planetscale.test.mjs',
			'js-tests/driver-init/module/planetscale.test.cjs',
			'js-tests/driver-init/commonjs/planetscale.test.cjs',
		],
		typecheck: {
			tsconfig: 'tsconfig.json',
		},
		testTimeout: 100000,
		hookTimeout: 200000,
		isolate: true,
		poolOptions: {
			threads: {
				singleThread: true,
			},
		},
		maxWorkers: 1,
		fileParallelism: false,
	},
	plugins: [tsconfigPaths()],
});

Dependencies

  • config
  • config
  • vite-tsconfig-paths

Frequently Asked Questions

What does vitest.config.ts do?
vitest.config.ts is a source file in the drizzle-orm codebase, written in typescript.
What does vitest.config.ts depend on?
vitest.config.ts imports 3 module(s): config, config, vite-tsconfig-paths.
Where is vitest.config.ts in the architecture?
vitest.config.ts is located at integration-tests/vitest.config.ts (directory: integration-tests).

Analyze Your Own Codebase

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

Try Supermodel Free