Skip to content

test: add maintenance-worker-factory unit tests#606

Merged
cameri merged 2 commits intomainfrom
test/maintenance-worker-factory
May 7, 2026
Merged

test: add maintenance-worker-factory unit tests#606
cameri merged 2 commits intomainfrom
test/maintenance-worker-factory

Conversation

@phoenix-server
Copy link
Copy Markdown
Collaborator

Description

Add unit tests for maintenance-worker-factory, covering the factory instantiation and dependency wiring.

Changes

  • Created test/unit/factories/maintenance-worker-factory.spec.ts
  • Verifies MaintenanceWorker instance creation
  • Tests proper dependency injection of payments service, maintenance service, settings, and NIP05 verification repository

Coverage

  • File coverage: 0% → 100% (11/11 statements)
  • Total tests: 1146 → 1147 passing
  • All tests: ✅ Passing

Closes

Closes #605

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 7, 2026

🦋 Changeset detected

Latest commit: 81f80ee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nostream Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented May 7, 2026

Coverage Status

coverage: 64.948% (+0.2%) from 64.775% — test/maintenance-worker-factory into main

@phoenix-server phoenix-server force-pushed the test/maintenance-worker-factory branch from aabb7ab to ec2ab66 Compare May 7, 2026 23:10
@phoenix-server phoenix-server force-pushed the test/maintenance-worker-factory branch from ec2ab66 to 835c6a7 Compare May 7, 2026 23:10
@cameri cameri merged commit 47a9f4e into main May 7, 2026
17 checks passed
@cameri cameri deleted the test/maintenance-worker-factory branch May 7, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add unit tests for maintenance-worker-factory

3 participants