Persist build extra_files for Build Manager history, print dashboard login on every start, add libp2p for Mesh P2P forge, defer WebSocket until login, and split devrun.bat from LAUNCH.bat with USB deck auto-detection.
25 lines
852 B
TypeScript
25 lines
852 B
TypeScript
/**
|
|
* @vitest-environment happy-dom
|
|
*/
|
|
import { afterEach, describe, expect, it } from 'vitest';
|
|
import { cleanup, render, screen } from '@testing-library/react';
|
|
import { MemoryRouter } from 'react-router-dom';
|
|
import GuidePage from './GuidePage';
|
|
import { routerFuture } from '../routerFuture';
|
|
|
|
describe('GuidePage', () => {
|
|
afterEach(() => cleanup());
|
|
|
|
it('renders field guide hero and pipeline section', () => {
|
|
render(
|
|
<MemoryRouter future={routerFuture}>
|
|
<GuidePage />
|
|
</MemoryRouter>
|
|
);
|
|
expect(screen.getByText('OPERATIONS MANUAL')).toBeTruthy();
|
|
expect(screen.getByRole('heading', { name: /Field Guide/i })).toBeTruthy();
|
|
expect(screen.getByRole('heading', { name: /Live pipeline/i })).toBeTruthy();
|
|
expect(screen.getByRole('heading', { name: /Forge vs Calibrate/i })).toBeTruthy();
|
|
});
|
|
});
|