Skip to content

Commit 0947c7a

Browse files
committed
test(cloud-connection): read the manifest service's register mock without an any cast
Claude-Session: https://claude.ai/code/session_01Utp6CY4LWqfjLCYqpZhNCs Co-authored-by: Claude <noreply@anthropic.com>
1 parent db95623 commit 0947c7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/cloud-connection/src/marketplace-install-local-storage-dir.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ describe('install-local default ledger — follows OS_HOME (#30217)', () => {
194194
const plugin = new MarketplaceInstallLocalPlugin({ controlPlaneUrl: 'off' });
195195
await plugin.start(ctx as any);
196196
await fire();
197-
const register = (ctx.getService('manifest') as any).register as ReturnType<typeof vi.fn>;
197+
const register = ctx.getService('manifest').register as ReturnType<typeof vi.fn>;
198198
const registered = register.mock.calls.map((call: any[]) => call[0]?.id);
199199
return {
200200
ctx,

0 commit comments

Comments
 (0)