Skip to content

Commit ee5c955

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 4f95ddd commit ee5c955

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ describe('signUp', () => {
4747
expect(response.email).to.eq('[email protected]');
4848
expect(mock.calls[0].request).to.eql(request);
4949
expect(mock.calls[0].method).to.eq('POST');
50-
expect(mock.calls[0].headers).to.eql({ 'Content-Type': 'application/json' });
50+
expect(mock.calls[0].headers).to.eql({
51+
'Content-Type': 'application/json'
52+
});
5153
});
5254

5355
it('should handle errors', async () => {
@@ -67,9 +69,10 @@ describe('signUp', () => {
6769
400
6870
);
6971

70-
await expect(signUp(mockAuth, request)).to.be.rejectedWith(FirebaseError, 'Firebase: The email address is already in use by another account. (auth/email-already-in-use).');
71-
expect(mock.calls[0].request).to.eql(
72-
request
72+
await expect(signUp(mockAuth, request)).to.be.rejectedWith(
73+
FirebaseError,
74+
'Firebase: The email address is already in use by another account. (auth/email-already-in-use).'
7375
);
76+
expect(mock.calls[0].request).to.eql(request);
7477
});
7578
});

0 commit comments

Comments
 (0)