Files
GearBox/.planning/todos/pending/2026-04-10-fix-storage-service-tests.md
Jean-Luc Makiola b01625473f
All checks were successful
CI / ci (push) Successful in 1m5s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped
docs: capture 4 todos - storage tests, image bugs, manufacturer entity
2026-04-10 11:24:26 +02:00

17 lines
706 B
Markdown

---
created: 2026-04-10T09:23:46.394Z
title: Fix storage service tests
area: testing
files:
- tests/services/storage.service.test.ts
- src/server/services/storage.service.ts
---
## Problem
15 tests in the storage service test file are failing with `SyntaxError: Export named 'withImageUrl' not found in module 'src/server/services/storage.service.ts'`. This is a pre-existing issue that predates Phase 25. The `withImageUrl` export was likely renamed or removed but tests still reference it.
## Solution
Investigate the `storage.service.ts` exports, find what `withImageUrl` was renamed to (possibly `withImageUrls` based on recent Phase 24 commit `e1afd54`), and update the test imports to match.