Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendinho committed Jul 20, 2024
1 parent 8c841a8 commit 03c363b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/api/rest/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type Revoke = NoContentData | UnauthorizedData
export type SessionResponse = FetchResponse<SessionData>
export type UnprocessableResponse = FetchResponse<UnprocessableData>

// https://www.quiltt.dev/api-reference/rest/auth#
// https://www.quiltt.dev/api-reference/auth
export class AuthAPI {
clientId: string | undefined

Expand Down
4 changes: 3 additions & 1 deletion packages/core/tests/api/rest/auth.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { AuthAPI, PasscodePayload, UsernamePayload } from '@/api/rest/auth'
import { AuthAPI } from '@/api/rest/auth'
import { fetchWithRetry } from '@/api/rest/fetchWithRetry'
import { endpointAuth } from '@/configuration'
import { describe, it, beforeEach, expect, vi } from 'vitest'

import type { PasscodePayload, UsernamePayload } from '@/api/rest/auth'
import type { Mock, MockInstance } from 'vitest'

vi.mock('@/api/rest/fetchWithRetry', () => ({
Expand Down

0 comments on commit 03c363b

Please sign in to comment.