Add Vitest coverage for erasure lanes, fleet evolution UI, and spread routes.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Cover Path Tracer RS lane hints, Calibrate erasure toggle, fleet role chips, atlas skips panel, and erasure_lanes help copy.
This commit is contained in:
AetherForge
2026-06-07 06:21:11 -07:00
parent aa6b8a3142
commit 72d0e6ac19
5 changed files with 94 additions and 0 deletions

View File

@@ -200,6 +200,20 @@ describe('AccessDepthPanel', () => {
expect(screen.getByText(/confidence 72%/i)).toBeInTheDocument();
});
it('renders atlas skips block when failure atlas hard-skips tiers', async () => {
renderPanel(
mockAgent({ platform: 'windows', status: 'online' }),
parseAccessDepthDiagnostics({
tier_chain_order: ['exe_subprocess', 'ps_inmemory', 'cpu_inprocess'],
atlas_skips: [
{ tier: 'ps_inmemory', condition: 'defender_on', reason: '5 failures with Defender on' },
],
}),
);
expect(await screen.findByText('Atlas skips')).toBeInTheDocument();
expect(screen.getByText(/ps inmemory \(Defender on\)/i)).toBeInTheDocument();
});
it('shows spread genealogy lineage when watermark present', async () => {
renderPanel(
mockAgent({