Skip to content

test: add unit tests for app workers #489

@phoenix-server

Description

@phoenix-server

Summary

The app-level workers have very low or zero coverage. static-mirroring-worker.ts has 0% coverage entirely.

Files to cover

  • src/app/static-mirroring-worker.ts (0%)
  • src/app/app.ts (20% statements, 0% branches)
  • src/app/worker.ts (52% statements, 9% branches)
  • src/app/maintenance-worker.ts (43% statements, 13% branches)

Out of scope

Acceptance criteria

  • Each worker has a corresponding .spec.ts under test/unit/app/
  • Worker lifecycle (start, stop, error handling) covered
  • Dependencies stubbed (DB, Redis, services)
  • npm run cover:unit passes without regressions

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp wantedExtra attention is neededtestUnit or integration test improvements

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions