The content column now uses the design's gutter as side padding instead of Chakra's 16/24/32px. The Lifestyle fotografie row on phones bled out by the gutter, so the page was 4px too wide and Chrome zoomed out slightly. The header drops its extra padding and the to-top button follows the gutter, so logo, hero controls and content share one edge. Anchored sections now scroll to the height of the shrunken header, so Contact lands right below it instead of 24px lower. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
679 B
Markdown
13 lines
679 B
Markdown
# Unit Test Execution — homepage-sections
|
|
|
|
```bash
|
|
cd web
|
|
pnpm test # vitest run --coverage
|
|
```
|
|
|
|
- **Expected**: 53 files, 244 tests, 0 failures (count at the end of unit 6)
|
|
- **Coverage**: `src/lib/` (all business logic) at 100%. The suite overall is ~92% of statements.
|
|
- **Includes**: axe checks per section and per page, property-based tests (fast-check) for the contact form logic, and app-level tests through the real route tree (`src/app.test.tsx`)
|
|
- **Report**: terminal output plus `web/coverage/`
|
|
- jsdom has no layout or scrolling, so anything about positions, sizes and scroll behaviour is checked in the browser instead (see integration instructions).
|