Skip to content

Commit e5ef6c3

Browse files
committed
fixed formats
1 parent df11574 commit e5ef6c3

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

packages/auth-compat/test/integration/flows/phone.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe('Integration test: phone auth', () => {
115115
false
116116
)) as ConfirmationResult;
117117
let correctCode = await code(cr);
118-
118+
119119
stub(window.navigator['credentials'], 'get').callsFake(() => {
120120
const otpCred: OTPCredential = {
121121
id: 'fakeuid',

packages/auth/src/platform_browser/strategies/phone.test.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,8 @@ describe('platform_browser/strategies/phone', () => {
163163
});
164164

165165
expect(
166-
await signInWithPhoneNumber(
167-
auth,
168-
'number',
169-
verifier,
170-
true
171-
)
172-
).to.be.rejectedWith(
173-
FirebaseError,
174-
'auth/web-otp-not-supported'
175-
);
176-
177-
166+
await signInWithPhoneNumber(auth, 'number', verifier, true)
167+
).to.be.rejectedWith(FirebaseError, 'auth/web-otp-not-supported');
178168
});
179169
});
180170
});

packages/auth/test/integration/flows/phone.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ describe('Integration test: phone auth', () => {
238238
});
239239

240240
it('allows the user to sign in again using webOTP autofill', async () => {
241-
242241
stub(window.navigator['credentials'], 'get').callsFake(() => {
243242
const otpCred: OTPCredential = {
244243
id: 'fakeuid',

0 commit comments

Comments
 (0)