diff --git a/src/entrypoints/cli.test.ts b/src/entrypoints/cli.test.ts index d980ec3ec..d901360bf 100644 --- a/src/entrypoints/cli.test.ts +++ b/src/entrypoints/cli.test.ts @@ -487,6 +487,8 @@ describe('cli.tsx — background routing behavior', () => { afterEach(() => { process.argv = [...savedArgv] + // Later SDK initialization must not replay a test's provider selection. + clearRememberedProviderFlagForTests() }) it('dispatches background management commands before startup work', async () => {