mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
test: verify duckdb v1 support
This commit is contained in:
parent
099c605dc5
commit
136ab81188
2 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ describe('KtxDuckDbScanConnector runtime behavior', () => {
|
|||
|
||||
it('introspects tables, views, primary keys, foreign keys, and row counts', async () => {
|
||||
const c = connector();
|
||||
const snapshot = await c.introspect({ connectionId: 'warehouse', driver: 'duckdb' as never }, { runId: 'test' });
|
||||
const snapshot = await c.introspect({ connectionId: 'warehouse', driver: 'duckdb' }, { runId: 'test' });
|
||||
await c.cleanup();
|
||||
|
||||
expect(snapshot).toMatchObject({
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export function createDuckDbLiveDatabaseIntrospection(
|
|||
now: options.now,
|
||||
});
|
||||
try {
|
||||
return await connector.introspect({ connectionId, driver: 'duckdb' as never }, { runId: `duckdb-${connectionId}` });
|
||||
return await connector.introspect({ connectionId, driver: 'duckdb' }, { runId: `duckdb-${connectionId}` });
|
||||
} finally {
|
||||
await connector.cleanup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue