diff --git a/code/websites/pokedex.online/tests/unit/composables/useChallongeClient.test.js b/code/websites/pokedex.online/tests/unit/composables/useChallongeClient.test.js index facb82d..9aac972 100644 --- a/code/websites/pokedex.online/tests/unit/composables/useChallongeClient.test.js +++ b/code/websites/pokedex.online/tests/unit/composables/useChallongeClient.test.js @@ -4,7 +4,10 @@ import { describe, it, expect, beforeEach, vi } from 'vitest'; import { useChallongeClient } from '../../../src/composables/useChallongeClient.js'; -import { ScopeType, AuthType } from '../../../src/services/challonge.service.js'; +import { + ScopeType, + AuthType +} from '../../../src/services/challonge.service.js'; // Mock dependencies vi.mock('../../../src/composables/useChallongeApiKey.js', () => ({ @@ -46,13 +49,8 @@ describe('useChallongeClient', () => { }); it('creates composable with default values', () => { - const { - apiVersion, - tournamentScope, - debugMode, - apiKey, - client - } = useChallongeClient(); + const { apiVersion, tournamentScope, debugMode, apiKey, client } = + useChallongeClient(); expect(apiVersion.value).toBe('v2.1'); expect(tournamentScope.value).toBe(ScopeType.USER);