mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
test: verify managed local ingest daemon runtime
This commit is contained in:
parent
2982983a83
commit
b3c09a2136
2 changed files with 6 additions and 2 deletions
|
|
@ -179,7 +179,9 @@ describe('runKtxServeStdio', () => {
|
|||
|
||||
it('passes managed daemon options to MCP local ingest adapters and pull-config options', async () => {
|
||||
const project = { projectDir: '/tmp/ktx-project', config: { connections: {} } } as never;
|
||||
const adapters = [{ source: 'looker', skillNames: [] }];
|
||||
const adapters: SourceAdapter[] = [
|
||||
{ source: 'looker', skillNames: [], detect: async () => true, chunk: async () => ({ workUnits: [] }) },
|
||||
];
|
||||
const createIngestAdapters = vi.fn(() => adapters);
|
||||
const createContextTools = vi.fn(() => ({ connections: { list: async () => [] } }));
|
||||
const managedRuntimeIo = makeManagedRuntimeIo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue