From b46953f3ccdff8c816503a1bf1c1088c79bdab8f Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Thu, 27 Aug 2026 20:16:51 +0800 Subject: [PATCH] test(client-modules): type loader resolver stubs --- packages/client/modules/tests/node-half.client.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/modules/tests/node-half.client.spec.ts b/packages/client/modules/tests/node-half.client.spec.ts index 87f20b95e1..5553c94c8e 100644 --- a/packages/client/modules/tests/node-half.client.spec.ts +++ b/packages/client/modules/tests/node-half.client.spec.ts @@ -351,7 +351,7 @@ describe('client bundle activation', () => { } expect(() => constructWithRoute([packageName, alias], { - internal: internal as NonNullable, + internal: internal as unknown as NonNullable, })).toThrow( `client-modules: package ${packageName} resolves from multiple active Loader sources:`, ) @@ -371,7 +371,7 @@ describe('client bundle activation', () => { resolveSync: () => ({ format: 'module' as const, url: pathToFileURL(hostPath).href }), } const { context, service } = constructWithRoute(entries, { - internal: internal as NonNullable, + internal: internal as unknown as NonNullable, }) const firstRevision = service.graph().entries[0]!.rev const warning = vi.spyOn(context.logger, 'warn').mockImplementation(() => undefined)