test(cli): fix setup database test type-check

This commit is contained in:
Andrey Avtomonov 2026-05-13 21:17:11 +02:00
parent 38e921d3e2
commit efef54a52d

View file

@ -1075,7 +1075,7 @@ describe('setup databases step', () => {
initialValues: ['orbit_analytics', 'orbit_raw'],
required: true,
});
expect(String(prompts.multiselect.mock.calls[0]?.[0].message)).not.toContain('to scan');
expect(String(vi.mocked(prompts.multiselect).mock.calls[0]?.[0].message)).not.toContain('to scan');
const config = parseKtxProjectConfig(await readFile(join(tempDir, 'ktx.yaml'), 'utf-8'));
expect(config.connections['postgres-warehouse']).toMatchObject({
schemas: ['orbit_analytics', 'orbit_raw'],