2026-05-10 23:12:26 +02:00
|
|
|
import { describe, expect, it } from 'vitest';
|
|
|
|
|
|
2026-05-10 23:51:24 +02:00
|
|
|
describe('@ktx/connector-sqlserver package exports', () => {
|
2026-05-10 23:12:26 +02:00
|
|
|
it('exports public connector APIs during package bootstrap', async () => {
|
|
|
|
|
const connector = await import('./index.js');
|
|
|
|
|
|
2026-05-10 23:51:24 +02:00
|
|
|
expect(connector.KtxSqlServerDialect).toBeTypeOf('function');
|
|
|
|
|
expect(connector.KtxSqlServerScanConnector).toBeTypeOf('function');
|
2026-05-10 23:12:26 +02:00
|
|
|
expect(connector.createSqlServerLiveDatabaseIntrospection).toBeTypeOf('function');
|
|
|
|
|
expect(connector.sqlServerConnectionPoolConfigFromConfig).toBeTypeOf('function');
|
|
|
|
|
});
|
|
|
|
|
});
|