mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-01 08:59:39 +02:00
13 lines
594 B
TypeScript
13 lines
594 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
describe('@ktx/connector-mysql package exports', () => {
|
|
it('exports the native MySQL scan surface', async () => {
|
|
const connector = await import('./index.js');
|
|
|
|
expect(connector.KtxMysqlDialect).toBeTypeOf('function');
|
|
expect(connector.KtxMysqlScanConnector).toBeTypeOf('function');
|
|
expect(connector.createMysqlLiveDatabaseIntrospection).toBeTypeOf('function');
|
|
expect(connector.isKtxMysqlConnectionConfig).toBeTypeOf('function');
|
|
expect(connector.mysqlConnectionPoolConfigFromConfig).toBeTypeOf('function');
|
|
});
|
|
});
|