Skip to content

Commit cb96b42

Browse files
committed
Added comment in popup_redirect.test.ts
1 parent fc542d0 commit cb96b42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/auth/src/platform_browser/popup_redirect.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ describe('platform_browser/popup_redirect', () => {
142142

143143
it('does not add the App Check token in the url fragment if none returned', async () => {
144144
await resolver._initialize(auth);
145+
// Redundant, already set in mock_auth.ts but adding here for clarity
145146
sinon
146147
.stub(FAKE_APP_CHECK_CONTROLLER, 'getToken')
147148
.returns(Promise.resolve({ token: '' }));
@@ -243,6 +244,7 @@ describe('platform_browser/popup_redirect', () => {
243244
});
244245

245246
it('does not add the App Check token in the url fragment if none returned', async () => {
247+
// Redundant, already set in mock_auth.ts but adding here for clarity
246248
sinon
247249
.stub(FAKE_APP_CHECK_CONTROLLER, 'getToken')
248250
.returns(Promise.resolve({ token: '' }));

0 commit comments

Comments
 (0)