mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 11:54:46 +00:00
Type browser lease mock with its subscription contract
This commit is contained in:
+3
-1
@@ -194,7 +194,9 @@ function createLease(
|
||||
})
|
||||
}
|
||||
|
||||
async function subscribeLease(options?: { sendRequest?: ReturnType<typeof vi.fn> }): Promise<{
|
||||
async function subscribeLease(options?: {
|
||||
sendRequest?: RemoteRuntimeTransportSubscription['sendRequest']
|
||||
}): Promise<{
|
||||
callbacks: { current?: RemoteRuntimeTransportSubscriptionCallbacks }
|
||||
close: ReturnType<typeof vi.fn>
|
||||
}> {
|
||||
|
||||
Reference in New Issue
Block a user