Overview
The only test touching LocationsService is one it() block inside the misplaced root-level backend/src/femaleotaku.spec.ts ("LocationsService creates location"), covering just the create path with a fully mocked repository and no assertions on error handling, hierarchy behavior, or the location→asset-count relationship the service is documented to expose.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
The only test touching
LocationsServiceis oneit()block inside the misplaced root-levelbackend/src/femaleotaku.spec.ts("LocationsService creates location"), covering just the create path with a fully mocked repository and no assertions on error handling, hierarchy behavior, or the location→asset-count relationship the service is documented to expose.Tasks
backend/src/locations/locations.service.spec.ts, co-located with the module.findByIdnot-found, and for whatever hierarchical (parent/child) logicLocationsServiceimplements.mockAssetRepo).Acceptance Criteria
Notes for Contributors
Comment below to be assigned.