docs(plan): add progress copy closure; test: align setup back-nav fixture

Adds the iter9 plan and updates the setup back-navigation test fixture
to pass disableQueryHistory plus listSchemas/listTables stubs that the
unified ingest setup step now requires.
This commit is contained in:
Andrey Avtomonov 2026-05-13 20:32:49 +02:00
parent 61f0881cee
commit fae083700a
2 changed files with 569 additions and 2 deletions

View file

@ -513,11 +513,19 @@ describe('setup databases step', () => {
});
const testConnection = vi.fn(async () => 0);
const scanConnection = vi.fn(async () => 0);
const listSchemas = vi.fn(async () => []);
const listTables = vi.fn(async () => []);
const result = await runKtxSetupDatabasesStep(
{ projectDir: tempDir, inputMode: 'auto', skipDatabases: false, databaseSchemas: [] },
{
projectDir: tempDir,
inputMode: 'auto',
skipDatabases: false,
databaseSchemas: [],
disableQueryHistory: true,
},
makeIo().io,
{ prompts, testConnection, scanConnection },
{ prompts, testConnection, scanConnection, listSchemas, listTables },
);
expect(result.status).toBe('back');