Convert labelathon DetailsSection to TypeScript

Part of &33. Closes #859 (closed).

Scope

  • contributors/app/javascript/pages/labelathon-page/DetailsSection.vue
  • contributors/app/javascript/pages/labelathon-page/DetailsSection.spec.ts (renamed from .js)
  • contributors/app/javascript/pages/labelathon-page/__snapshots__/DetailsSection.spec.ts.snap (renamed from .js.snap)

What was done

  • Added lang="ts" to <script setup> in DetailsSection.vue.
  • Renamed DetailsSection.spec.js and its snapshot DetailsSection.spec.js.snap to .ts and .ts.snap using git mv.
  • Typed wrapper as VueWrapper in DetailsSection.spec.ts.
  • Verified snapshot content remains completely unchanged and valid (shows the fully-loaded component with DetailsSection.md content).
  • Verified all typechecks, lint, and full vitest suite pass cleanly.

Why behaviour did not change

  • No runtime logic or markup was altered.
  • Snapshot output is 100% identical.

Verification

npm run typecheck && npm run lint && TZ=UTC npm run test -- --run

All checks and 143 test files (1,745 tests) passed cleanly.

Merge request reports

Loading
Loading