Commit Graph

8 Commits

Author SHA1 Message Date
3dc79aa425 fix MC test
All checks were successful
Lint / Lint and Typecheck (push) Successful in 41s
2025-12-07 01:43:26 +01:00
4aa961fc1c monte-carlo improvements 2025-12-06 21:42:00 +01:00
6a13860a80 Improves input test reliability and restores setup mocks
Switches input change test to use async wait for reliable value assertion.
Restores and enhances test setup with matchMedia mock to support media query-dependent components in jsdom.
2025-12-06 20:46:01 +01:00
0030f91bb2 Removes 4% rule overlays and adds URL hydration to form
Eliminates all 4%-rule related overlays, buttons, and UI elements from the calculator for a simpler experience. Introduces hydration of calculator inputs from URL search params, enabling sharing of form state via URLs and restoring state on page reload. Updates the form's share button styling and ensures all necessary URL parameters are set for sharing.

Also refactors tests to remove 4%-rule tests and adds mocks for next/navigation.

Simplifies calculator behavior and improves accessibility for stateful URLs.
2025-12-06 20:25:04 +01:00
8ac1c1a9df tests 2025-12-06 15:19:53 +01:00
7b24da6f35 learn pages 2025-12-06 00:53:27 +01:00
1400b3f1ae tests 2025-12-05 15:29:11 +01:00
90f83ab62b Adds Vitest and Playwright testing setup with sample tests
Introduces a unified testing setup using Vitest for unit tests
and Playwright for E2E tests. Updates dependencies, adds sample
unit and E2E tests, documents test workflow, and codifies
testing and code standards in project guidelines.

Enables fast, automated test runs and improves code reliability
through enforced standards.
2025-12-05 13:42:10 +01:00