Skip to content

Test suite is broken on main — asserts a starter skeleton that no longer exists #11

Description

@PouyanJay

npm test fails on main. The repo therefore has no working automated check of any kind.

tests/rendered-html.test.mjs still asserts the vinext starter's loading skeleton, which was removed when Anatomy Atelier was built on top of it. It expects:

  • app/_sites-preview/SkeletonPreview.tsx and preview.css — directory no longer exists
  • react-loading-skeleton in package.json — not a dependency
  • <title>Your site is taking shape</title> — actual title is "Anatomy Atelier — Learn anatomy like an artist"
  • title: "Starter Project" in app/layout.tsx — not present
  • a codex-preview meta tag in app/page.tsxpage.tsx is five lines and renders <AnatomyApp />

Why fix this first

Every other change to this repo is currently unverifiable by anything except a manual pass. A dependency bump in particular needs a test that actually exercises the app before it can be trusted.

Proposed fix

Replace the skeleton assertions with ones against the real server-rendered output — page title and metadata, the organ library, the default specimen — so the test proves the app renders rather than proving a deleted template does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions