diff --git a/cli/test/integration/upgrade-command.test.ts b/cli/test/integration/upgrade-command.test.ts index f1bc146b..d0fa9671 100644 --- a/cli/test/integration/upgrade-command.test.ts +++ b/cli/test/integration/upgrade-command.test.ts @@ -291,7 +291,10 @@ describe('upgrade command', () => { expect(inventory.items[0]).toMatchObject({ version: '1.1.0', fingerprint: 'fp-v2' }) expect(inventory.items[0].targets).toHaveLength(2) - const listed = await runCli(['list', '--json'], { HOME: env.home, USERPROFILE: env.home }) + const listed = await runCli(['list', '--json', '--registry', registry.url], { + HOME: env.home, + USERPROFILE: env.home + }) expect(listed.exitCode).toBe(0) expect(JSON.parse(listed.stdout).items[0]).toMatchObject({ version: '1.1.0' }) })