Skip to content

Commit e6e6b07

Browse files
committed
test(cloud-connection): count only the install's registrations in the #34432 route pins
Claude-Session: https://claude.ai/code/session_01ADHkmRXuRn93HphKp7kXEz Co-authored-by: Claude <noreply@anthropic.com>
1 parent f56759b commit e6e6b07

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/cloud-connection/src/marketplace-install-local-resolver-refusal-34432.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ async function boot(dir: string, driver: ReturnType<typeof fakeDriver>) {
123123
const plugin = new MarketplaceInstallLocalPlugin({ controlPlaneUrl: 'off', storageDir: dir });
124124
await plugin.start(ctx as any);
125125
await hooks.get('kernel:ready')?.();
126+
// The door registers its own plugin manifest at boot; only the install's registrations count.
127+
register.mockClear();
126128
return {
127129
install: (reqBody: Row) => rawApp.routes.get(`POST ${ROUTE}`)!(makeC(reqBody)),
128130
register,

0 commit comments

Comments
 (0)