Skip to content

Commit 45d390f

Browse files
committed
fix(client): fix client issue
1 parent 8d3053d commit 45d390f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/batch-mock-collector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class BatchMockCollector {
104104

105105
private readyResolve?: () => void;
106106
private readyReject?: (error: Error) => void;
107-
private readyPromise: Promise<void>;
107+
private readyPromise: Promise<void> = Promise.resolve();
108108

109109
constructor(options: BatchMockCollectorOptions = {}) {
110110
this.timeout = options.timeout ?? DEFAULT_TIMEOUT;

0 commit comments

Comments
 (0)