test: clear remembered provider routing after CLI tests (#2349)

This commit is contained in:
JATMN
2026-10-23 05:46:15 -07:00
committed by GitHub
parent 36b7ffd69a
commit 2e415e7955
+2
View File
@@ -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 () => {