Skip to content

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

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

test: add maintenance-worker-factory unit tests#606
cameri merged 2 commits into
mainfrom
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

changeset-botBot commented May 7, 2026

Copy link
Copy Markdown

🦋 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
NameType
nostreamPatch

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

coveralls commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

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

@phoenix-server
phoenix-serverforce-pushed the test/maintenance-worker-factory branch from aabb7ab to ec2ab66CompareMay 7, 2026 23:10
@phoenix-server
phoenix-serverforce-pushed the test/maintenance-worker-factory branch from ec2ab66 to 835c6a7CompareMay 7, 2026 23:10
@cameri
cameri merged commit 47a9f4e into mainMay 7, 2026
17 checks passed
@cameri
cameri deleted the test/maintenance-worker-factory branch May 7, 2026 23:24
@camericameri mentioned this pull request May 7, 2026
Sign up for freeto 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

@phoenix-server@coveralls@cameri