From 2723b96c0b4119db0bb20e8f91610b19e0ac6826 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 05:09:43 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Reformat=20import=20statements?= =?UTF-8?q?=20and=20destructuring=20for=20improved=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unit/composables/useChallongeClient.test.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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);