Skip to content

Commit cd1963c

Browse files
committed
run yarn format
1 parent 14a0ba6 commit cd1963c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/auth/src/api/index.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,7 @@ describe('api/_performApiRequest', () => {
348348

349349
it('should handle failures', async () => {
350350
mockFetch.setUpWithOverride(() => {
351-
return new Promise<never>((_, reject) =>
352-
reject(new Error('error'))
353-
);
351+
return new Promise<never>((_, reject) => reject(new Error('error')));
354352
});
355353
const promise = _performApiRequest<typeof request, never>(
356354
auth,

packages/auth/src/api/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ export async function _performFetchWithErrorHandling<V>(
183183
}
184184
if (e instanceof Error) {
185185
_fail(auth, AuthErrorCode.INTERNAL_ERROR, e);
186-
}
187-
else {
186+
} else {
188187
_fail(auth, AuthErrorCode.INTERNAL_ERROR, String(e));
189188
}
190189
}

0 commit comments

Comments
 (0)