is.test.ts — drizzle-orm Source File
Architecture documentation for is.test.ts, a typescript file in the drizzle-orm codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8d230a0c_2d28_3956_125a_5908600299d2["is.test.ts"] aa9d887a_e866_91be_08c9_4b95f8d893ee["vitest"] 8d230a0c_2d28_3956_125a_5908600299d2 --> aa9d887a_e866_91be_08c9_4b95f8d893ee 5a831b24_0f58_5523_1ef9_ebd73213541f["index.ts"] 8d230a0c_2d28_3956_125a_5908600299d2 --> 5a831b24_0f58_5523_1ef9_ebd73213541f d2121c85_50ae_8a8e_c0b6_0f0dbcf2c232["index.ts"] 8d230a0c_2d28_3956_125a_5908600299d2 --> d2121c85_50ae_8a8e_c0b6_0f0dbcf2c232 style 8d230a0c_2d28_3956_125a_5908600299d2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { describe, test } from 'vitest';
import { Column, is } from '~/index.ts';
import { PgArray, PgColumn, PgSerial, pgTable, serial } from '~/pg-core/index.ts';
const pgExampleTable = pgTable('test', {
a: serial('a').array(),
});
describe.concurrent('is', () => {
test('Column', ({ expect }) => {
expect(is(pgExampleTable.a, Column)).toBe(true);
expect(is(pgExampleTable.a, PgColumn)).toBe(true);
expect(is(pgExampleTable.a, PgArray)).toBe(true);
expect(is(pgExampleTable.a, PgSerial)).toBe(false);
});
});
Dependencies
- index.ts
- index.ts
- vitest
Source
Frequently Asked Questions
What does is.test.ts do?
is.test.ts is a source file in the drizzle-orm codebase, written in typescript.
What does is.test.ts depend on?
is.test.ts imports 3 module(s): index.ts, index.ts, vitest.
Where is is.test.ts in the architecture?
is.test.ts is located at drizzle-orm/tests/is.test.ts (directory: drizzle-orm/tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free