Skip to content

Commit 60114a6

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent b67e044 commit 60114a6

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

packages-exp/auth-exp/src/core/strategies/email.test.ts

+7-11
Original file line numberDiff line numberDiff line change
@@ -123,21 +123,21 @@ describe('sendEmailVerification', () => {
123123
});
124124

125125
await sendEmailVerification(mockAuth, user);
126-
126+
127127
expect(reloadStub).to.not.have.been.called;
128128
expect(mock.calls[0].request).to.eql({
129129
requestType: GetOobCodeRequestType.VERIFY_EMAIL,
130130
idToken
131131
});
132132
});
133-
133+
134134
it('should reload the user if the API returns a different email', async () => {
135135
const mock = mockEndpoint(Endpoint.SEND_OOB_CODE, {
136136
137137
});
138-
138+
139139
await sendEmailVerification(mockAuth, user);
140-
140+
141141
expect(reloadStub).to.have.been.calledOnce;
142142
expect(mock.calls[0].request).to.eql({
143143
requestType: GetOobCodeRequestType.VERIFY_EMAIL,
@@ -146,14 +146,10 @@ describe('sendEmailVerification', () => {
146146
});
147147

148148
context('on iOS', () => {
149-
it('should pass action code parameters', () => {
150-
151-
});
149+
it('should pass action code parameters', () => {});
152150
});
153151

154152
context('on Android', () => {
155-
it('should pass action code parameters', () => {
156-
157-
});
153+
it('should pass action code parameters', () => {});
158154
});
159-
});
155+
});

packages-exp/auth-exp/src/core/strategies/email.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { createAuthUri, CreateAuthUriRequest } from '../../api/authentication/create_auth_uri';
18+
import {
19+
createAuthUri,
20+
CreateAuthUriRequest
21+
} from '../../api/authentication/create_auth_uri';
1922
import * as api from '../../api/authentication/email_and_password';
20-
import { ActionCodeSettings, setActionCodeSettingsOnRequest } from '../../model/action_code_settings';
23+
import {
24+
ActionCodeSettings,
25+
setActionCodeSettingsOnRequest
26+
} from '../../model/action_code_settings';
2127
import { Auth } from '../../model/auth';
2228
import { User } from '../../model/user';
2329
import { getCurrentUrl, isHttpOrHttps } from '../util/location';
@@ -59,4 +65,4 @@ export async function sendEmailVerification(
5965
if (email !== user.email) {
6066
await user.reload();
6167
}
62-
}
68+
}

packages-exp/auth-exp/src/model/action_code_info.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ export interface ActionCodeInfo {
2828
fromEmail: string | null;
2929
};
3030
operation: string;
31-
}
31+
}

packages-exp/auth-exp/src/model/action_code_settings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ export function setActionCodeSettingsOnRequest(
5151
actionCodeSettings.android.minimumVersion;
5252
request.androidPackageName = actionCodeSettings.android.packageName;
5353
}
54-
}
54+
}

0 commit comments

Comments
 (0)