From dbf60a48606fb783ca1d09ada5ad1fe3ab5675c9 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 05:05:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20async=20handling=20to=20te?= =?UTF-8?q?st=20cases=20in=20GamemasterExplorer=20unit=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tests/unit/views/GamemasterExplorer.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/websites/pokedex.online/tests/unit/views/GamemasterExplorer.test.js b/code/websites/pokedex.online/tests/unit/views/GamemasterExplorer.test.js index 8624879..f006688 100644 --- a/code/websites/pokedex.online/tests/unit/views/GamemasterExplorer.test.js +++ b/code/websites/pokedex.online/tests/unit/views/GamemasterExplorer.test.js @@ -126,7 +126,7 @@ describe('GamemasterExplorer', () => { expect(wrapper.text()).toContain('Loading Gamemaster Explorer'); }); - it('shows error state when fileError exists', () => { + it('shows error state when fileError exists', async () => { const { useGamemasterFiles } = await import( '../../../src/composables/useGamemasterFiles.js' ); @@ -148,7 +148,7 @@ describe('GamemasterExplorer', () => { expect(wrapper.text()).toContain('Failed to load files'); }); - it('shows no files state when hasFiles is false', () => { + it('shows no files state when hasFiles is false', async () => { const { useGamemasterFiles } = await import( '../../../src/composables/useGamemasterFiles.js' ); @@ -230,7 +230,7 @@ describe('GamemasterExplorer', () => { expect(backLink.attributes('to')).toBe('/'); }); - it('calls loadStatus on mount', () => { + it('calls loadStatus on mount', async () => { const { useGamemasterFiles } = await import( '../../../src/composables/useGamemasterFiles.js' );