You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expectError<void>(server.testOAuthName.getAccessTokenFromAuthorizationCodeFlow(request));// error because function call does not pass a callback as second argument.
expectError<void>(awaitserver.testOAuthName.getNewAccessTokenUsingRefreshToken(token.refresh_token,{}));// error because Promise should not return void
95
+
expectError<void>(awaitserver.testOAuthName.getNewAccessTokenUsingRefreshToken(token.token,{}));// error because Promise should not return void
);// error because non-Promise function call should return void and have a callback argument
103
-
expectError<void>(server.testOAuthName.getNewAccessTokenUsingRefreshToken(token.refresh_token,{}));// error because function call does not pass a callback as second argument.
103
+
expectError<void>(server.testOAuthName.getNewAccessTokenUsingRefreshToken(token.token,{}));// error because function call does not pass a callback as second argument.
0 commit comments