Skip to content

Commit 40abf66

Browse files
phoenix-servercameriCopilot
authored
test: add maintenance-service-factory unit tests (#604)
* test: add maintenance-service-factory unit tests * chore: add changeset for maintenance service factory tests Agent-Logs-Url: https://github.com/cameri/nostream/sessions/8f25959e-5355-4070-9b32-8b5790f27c99 Co-authored-by: cameri <378886+cameri@users.noreply.github.com> --------- Co-authored-by: Ricardo Cabral <me@ricardocabral.io> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cameri <378886+cameri@users.noreply.github.com>
1 parent 250c767 commit 40abf66

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.changeset/tall-mangos-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"nostream": patch
3+
---
4+
5+
Add unit tests for maintenance service factory instantiation and dependency wiring.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { expect } from 'chai'
2+
3+
import { MaintenanceService } from '../../../src/services/maintenance-service'
4+
import { createMaintenanceService } from '../../../src/factories/maintenance-service-factory'
5+
6+
describe('createMaintenanceService', () => {
7+
it('returns a MaintenanceService', () => {
8+
expect(createMaintenanceService()).to.be.an.instanceOf(MaintenanceService)
9+
})
10+
})

0 commit comments

Comments
 (0)