Skip to content

Commit 7ec20b2

Browse files
committed
Add missing getAuthHeaders method to ClientContextStub
Fix TypeScript compilation error by implementing getAuthHeaders method required by IClientContext interface.
1 parent 1cdb716 commit 7ec20b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/.stubs/ClientContextStub.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ export default class ClientContextStub implements IClientContext {
4848
public async getDriver(): Promise<IDriver> {
4949
return this.driver;
5050
}
51+
52+
public async getAuthHeaders(): Promise<HeadersInit> {
53+
return {};
54+
}
5155
}

0 commit comments

Comments
 (0)