chore: add test runner to pre-commit hook with failure-only output
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m58s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m58s
This commit is contained in:
@@ -4,10 +4,11 @@ import { describe, it, expect } from 'vitest';
|
||||
|
||||
describe('CraftingTab module structure', () => {
|
||||
it('exports CraftingTab from its module', async () => {
|
||||
// Allow extra time for the heavy component import (FabricatorSubTab/EnchanterSubTab)
|
||||
const mod = await import('./CraftingTab');
|
||||
expect(mod.CraftingTab).toBeDefined();
|
||||
expect(typeof mod.CraftingTab).toBe('function');
|
||||
});
|
||||
}, 30000);
|
||||
|
||||
it('CraftingTab has correct displayName', async () => {
|
||||
const { CraftingTab } = await import('./CraftingTab');
|
||||
|
||||
@@ -7,7 +7,7 @@ describe('EquipmentTab module structure', () => {
|
||||
const mod = await import('./EquipmentTab');
|
||||
expect(mod.EquipmentTab).toBeDefined();
|
||||
expect(typeof mod.EquipmentTab).toBe('function');
|
||||
});
|
||||
}, 30000);
|
||||
|
||||
it('EquipmentTab has correct displayName', async () => {
|
||||
const { EquipmentTab } = await import('./EquipmentTab');
|
||||
|
||||
Reference in New Issue
Block a user