Skip to content

Commit 51d7a70

Browse files
committed
style(testing): format test file with prettier
1 parent 6c202cb commit 51d7a70

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

packages/testing/src/playwright/__tests__/setupClerkTestingToken.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import { ERROR_MISSING_FRONTEND_API_URL } from '../../common/errors';
77
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
88
let setupClerkTestingToken: (typeof import('../setupClerkTestingToken'))['setupClerkTestingToken'];
99

10-
function createMockRoute(overrides: { url?: string; fetchStatus?: number; fetchJson?: unknown; fetchError?: Error } = {}) {
10+
function createMockRoute(
11+
overrides: { url?: string; fetchStatus?: number; fetchJson?: unknown; fetchError?: Error } = {},
12+
) {
1113
const {
1214
url = 'https://clerk.example.com/v1/client',
1315
fetchStatus = 200,
@@ -317,10 +319,7 @@ describe('setupClerkTestingToken', () => {
317319

318320
expect(route.fetch).toHaveBeenCalledTimes(4);
319321
expect(route.continue).toHaveBeenCalledTimes(1);
320-
expect(warnSpy).toHaveBeenCalledWith(
321-
expect.stringContaining('failed after 4 attempts'),
322-
networkError,
323-
);
322+
expect(warnSpy).toHaveBeenCalledWith(expect.stringContaining('failed after 4 attempts'), networkError);
324323

325324
warnSpy.mockRestore();
326325
errorSpy.mockRestore();

0 commit comments

Comments
 (0)