️ Add async handling to loading state test in GamemasterExplorer component

This commit is contained in:
2026-01-29 05:05:32 +00:00
parent bea0f15566
commit 6f6ddb3660

View File

@@ -104,7 +104,7 @@ describe('GamemasterExplorer', () => {
expect(wrapper.exists()).toBe(true); expect(wrapper.exists()).toBe(true);
}); });
it('shows loading state when isLoading is true', () => { it('shows loading state when isLoading is true', async () => {
const { useGamemasterFiles } = await import( const { useGamemasterFiles } = await import(
'../../../src/composables/useGamemasterFiles.js' '../../../src/composables/useGamemasterFiles.js'
); );