MEGAINFRA-WEBAPP/src/test-support/server-only.ts
DEls a96f35366d feat(management): store planning data in PocketBase with editable income, add job and forecast vs actual chart
Move the Management planning snapshots into PocketBase collections
(plans, projects, per-year project plans, retention, edit log), loaded
with a bundled-JSON fallback. Admins can double-click an income cell to
enter forecast and actual, edit awarded jobs' planned amounts, change
status and costs, and add jobs, with revision checks and an audit trail.
Income chart now shows forecast and invoiced bars with not-yet-started
money stacked in red; Income is in the sidebar. Adds schema and import
scripts, and jsdom/Testing Library dev dependencies for UI tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 03:04:01 +02:00

10 lines
441 B
TypeScript

/**
* Test stand-in for the `server-only` package.
*
* The real package throws when a module marked `import "server-only"` is
* pulled into a client bundle, but it is not installed as a dependency — it
* only ships inside Next.js' compiled dependencies, so Vitest cannot resolve
* the bare specifier. The Vitest alias in `vitest.config.ts` points the
* specifier here so server modules stay importable in unit tests.
*/
export {};