Skip to content

Commit 99fe55d

Browse files
committed
update createHttpServer test
1 parent 90d4c1f commit 99fe55d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/connection/auth/DatabricksOAuth/AuthorizationCode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function prepareTestInstances(options: Partial<AuthorizationCodeOptions>) {
9898
return httpServer;
9999
});
100100

101-
authCode['createHttpServer'] = createHttpServer as any;
101+
(authCode as unknown as { createHttpServer: typeof createHttpServer }).createHttpServer = createHttpServer;
102102

103103
openAuthUrl.callsFake(async (authUrl) => {
104104
const params = JSON.parse(authUrl);

0 commit comments

Comments
 (0)