mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
14 lines
701 B
TypeScript
14 lines
701 B
TypeScript
|
|
import { describe, expect, it } from 'vitest';
|
||
|
|
|
||
|
|
describe('@klo/connector-postgres package exports', () => {
|
||
|
|
it('exports the connector, dialect, and live-database adapter', async () => {
|
||
|
|
const connector = await import('./index.js');
|
||
|
|
expect(connector.KloPostgresDialect).toBeTypeOf('function');
|
||
|
|
expect(connector.KloPostgresScanConnector).toBeTypeOf('function');
|
||
|
|
expect(connector.KloPostgresHistoricSqlQueryClient).toBeTypeOf('function');
|
||
|
|
expect(connector.createPostgresLiveDatabaseIntrospection).toBeTypeOf('function');
|
||
|
|
expect(connector.isKloPostgresConnectionConfig).toBeTypeOf('function');
|
||
|
|
expect(connector.postgresPoolConfigFromConfig).toBeTypeOf('function');
|
||
|
|
});
|
||
|
|
});
|