Skip to content

Commit 4e7c78b

Browse files
authored
[Auth] Fix a type error in one of our tests (#4624)
* Fix broken compilation * Formatting
1 parent d2eda13 commit 4e7c78b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages-exp/auth-exp/src/platform_browser/recaptcha/recaptcha_loader.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ describe('platform_browser/recaptcha/recaptcha_loader', () => {
6767
triggerNetworkTimeout = stubSingleTimeout(networkTimeoutId);
6868

6969
sinon.stub(jsHelpers, '_loadJS').callsFake(() => {
70-
return new Promise((resolve, reject) => {
70+
return (new Promise<void>((resolve, reject) => {
7171
jsLoader = { resolve, reject };
72-
});
72+
}) as unknown) as Promise<Event>;
7373
});
7474

7575
loader = new ReCaptchaLoaderImpl();

0 commit comments

Comments
 (0)