refactor(http): export CACHE_OPTIONS to support test suite requirements

Export the CACHE_OPTIONS injection token from transfer_cache.ts to resolve compilation failures in the unit test specs.

On the 19.2.x branch, the CACHE_OPTIONS token was previously a local private constant. However, the newly cherry-picked testing configurations import this token directly, requiring it to be exported.
This commit is contained in:
Alan Agius
2026-05-27 07:40:42 +00:00
parent 7dab3e376c
commit 08422de793
+1 -1
View File
@@ -113,7 +113,7 @@ interface CacheOptions extends HttpTransferCacheOptions {
isCacheActive: boolean;
}
const CACHE_OPTIONS = new InjectionToken<CacheOptions>(
export const CACHE_OPTIONS = new InjectionToken<CacheOptions>(
ngDevMode ? 'HTTP_TRANSFER_STATE_CACHE_OPTIONS' : '',
);