Overview
The service src/messaging/tracing/tracing.service.ts has no accompanying *.spec.ts unit test. Adding focused unit tests documents the service's contract, guards against regressions, and raises overall coverage. This is a self-contained, good-first-issue-sized task.
Specifications
Features:
- The service has unit tests covering its main methods and key edge cases.
Tasks:
- Add
src/messaging/tracing/tracing.service.spec.ts with a NestJS Test.createTestingModule (or direct instantiation) that mocks the service's dependencies.
- Cover at least: one happy-path per public method, one error/empty-input path, and any obvious edge case.
Impacted Files:
src/messaging/tracing/tracing.service.spec.ts
Acceptance Criteria
- New unit tests for the service pass in CI and meaningfully exercise its public methods.
- All the CI passes
- Star the repo
Overview
The service
src/messaging/tracing/tracing.service.tshas no accompanying*.spec.tsunit test. Adding focused unit tests documents the service's contract, guards against regressions, and raises overall coverage. This is a self-contained, good-first-issue-sized task.Specifications
Features:
Tasks:
src/messaging/tracing/tracing.service.spec.tswith a NestJSTest.createTestingModule(or direct instantiation) that mocks the service's dependencies.Impacted Files:
src/messaging/tracing/tracing.service.spec.tsAcceptance Criteria