Skip to content

[BE-142] categories module test coverage is a single happy-path smoke test #1284

Description

@yusuftomilola

Overview

Like locations, the only test touching CategoriesService is one it() in the misplaced backend/src/femaleotaku.spec.ts ("CategoriesService manages depreciation defaults"), with no co-located spec file and no coverage of not-found paths, update, or delete.

Tasks

  • Move and expand coverage into backend/src/categories/categories.service.spec.ts.
  • Cover the depreciation-defaults logic more thoroughly (its edge cases aren't visible from the single existing assertion), plus not-found and update/delete paths.

Acceptance Criteria

  • Categories has real, co-located test coverage beyond the single existing test.

Notes for Contributors

Comment below to be assigned.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendtestingTests, QA, and quality assurance

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions