Close test-gap noise rows and sync coverage documentation.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Restore P1/P2/fleet/erasure COVERED rows in PROBLEMS.md with refreshed counts; drop fixed poll-duplication and Vitest-noise items. Silence ECONNREFUSED stderr in Vitest setup, alias download mock exports, and expand erasure/Path Tracer test coverage.
This commit is contained in:
AetherForge
2026-06-07 06:44:54 -07:00
parent 72ae457cca
commit 821a0e2cd7
14 changed files with 710 additions and 147 deletions

View File

@@ -1,4 +1,4 @@
/**
/**
* @vitest-environment happy-dom
*/
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
@@ -57,7 +57,7 @@ describe('MissionDeckPage', () => {
it('shows loading state then mission deck hero', async () => {
renderMissionDeck();
expect(screen.getByText('Loading loadout defaults…')).toBeInTheDocument();
expect(screen.getByText(/Loading loadout defaults/)).toBeInTheDocument();
expect(await screen.findByRole('heading', { level: 1, name: /Mission Deck/i })).toBeInTheDocument();
expect(screen.getByText('FAST PATH')).toBeInTheDocument();
expect(await screen.findByText(/Pick a preset loadout/i)).toBeInTheDocument();
@@ -79,7 +79,7 @@ describe('MissionDeckPage', () => {
await screen.findByRole('region', { name: 'Mission loadout' });
expect(screen.getByRole('heading', { level: 3, name: /Spread profile/i })).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'LAN Kindling' })).toBeInTheDocument();
expect(screen.getByLabelText(/Campaign slug/i)).toBeInTheDocument();
expect(document.getElementById('md-campaign')).toBeInTheDocument();
});
it('links to Forge, Emberwake, Builds, and field guide', async () => {