17 lines
706 B
Markdown
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.
|