Skip to content

Commit dac1ad0

Browse files
committed
Formatting
1 parent 23e852f commit dac1ad0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages-exp/auth-exp/src/api/authentication/email_link.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ import { testAuth } from '../../../test/mock_auth';
2626
import * as mockFetch from '../../../test/mock_fetch';
2727
import { Auth } from '../../model/auth';
2828
import { ServerError } from '../errors';
29-
import { signInWithEmailLink, signInWithEmailLinkForLinking } from './email_link';
29+
import {
30+
signInWithEmailLink,
31+
signInWithEmailLinkForLinking
32+
} from './email_link';
3033

3134
use(chaiAsPromised);
3235

@@ -40,7 +43,6 @@ describe('api/authentication/email_link', () => {
4043

4144
afterEach(mockFetch.tearDown);
4245

43-
4446
context('signInWithEmailLink', () => {
4547
const request = {
4648
@@ -93,7 +95,7 @@ describe('api/authentication/email_link', () => {
9395
const request = {
9496
9597
oobCode: 'my-code',
96-
idToken: 'id-token-2',
98+
idToken: 'id-token-2'
9799
};
98100

99101
it('should POST to the correct endpoint', async () => {
@@ -130,7 +132,9 @@ describe('api/authentication/email_link', () => {
130132
400
131133
);
132134

133-
await expect(signInWithEmailLinkForLinking(auth, request)).to.be.rejectedWith(
135+
await expect(
136+
signInWithEmailLinkForLinking(auth, request)
137+
).to.be.rejectedWith(
134138
FirebaseError,
135139
'Firebase: The email address is badly formatted. (auth/invalid-email).'
136140
);

0 commit comments

Comments
 (0)