From efef54a52db47061ad5cf64cf1a841243ca175ac Mon Sep 17 00:00:00 2001 From: Andrey Avtomonov <7889985+andreybavt@users.noreply.github.com> Date: Wed, 13 May 2026 21:17:11 +0200 Subject: [PATCH] test(cli): fix setup database test type-check --- packages/cli/src/setup-databases.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/setup-databases.test.ts b/packages/cli/src/setup-databases.test.ts index c635116d..6fe577af 100644 --- a/packages/cli/src/setup-databases.test.ts +++ b/packages/cli/src/setup-databases.test.ts @@ -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'],