⚡️ Add async handling to loading state test in GamemasterExplorer component
This commit is contained in:
@@ -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'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user