refactor: await native operations across the bridge lifecycle

This commit is contained in:
手瓜一十雪 committed 2026-10-18 13:19:21 +08:00
1 parent 1faa6c58fa
commit 9b165a8971
24 files changed
+241 -177

No files matched your search

@@ -58,11 +58,11 @@ describe('HookManager — Docker reconnect-without-login leak guard', () => {
bridgeManager,
pipeWatcher,
injector: {
inject: vi.fn(() => ({
inject: vi.fn(async () => ({
method: 'loadModuleManual' as const,
handle: DUMMY_HANDLE,
})),
unload: vi.fn(),
unload: vi.fn(async () => {}),
},
makeClient: () => {
const c = new FakeClient();