refactor(file-upload): scope prompt binding rollback

This commit is contained in:
creatixchu
2026-09-03 20:15:18 +08:00
parent b2c4483c9d
commit 3eb9736eb6
12 changed files with 60 additions and 30 deletions
@@ -49,7 +49,7 @@ describe('SessionController facade', () => {
return () => {}
},
resolve: () => undefined,
bindPrompt: () => () => {},
bindPrompt: () => ({ commit: () => {}, [Symbol.dispose]: () => {} }),
retirePrompt: () => {},
} as never)
const controller = createSessionTestController(ctx, defaults)