From 252d9dbc9f28911729a25b0f7b722b261ae78782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A1ssio?= Date: Mon, 28 Oct 2024 13:52:07 -0300 Subject: [PATCH 1/2] docs: add http cache and install info --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b7d8dd..0f83eb6 100644 --- a/README.md +++ b/README.md @@ -25,5 +25,7 @@ It's a monorepo with npm packages, all installable independently //npm.pkg.github.com/:_authToken=GITHUB_TOKEN @open-ish:registry=https://npm.pkg.github.com ``` -- more info in [github docs](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry) -- Install any package you want +- install any package you want + +more info in [github docs](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry) + From 2fd44fed68c70dbe43b09a9778c46ce5f78c9591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A1ssio?= Date: Mon, 28 Oct 2024 13:52:59 -0300 Subject: [PATCH 2/2] Update cache-factory.spec.ts --- packages/http-front-cache/src/lib/cache-factory.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http-front-cache/src/lib/cache-factory.spec.ts b/packages/http-front-cache/src/lib/cache-factory.spec.ts index 3e75601..19aacb3 100644 --- a/packages/http-front-cache/src/lib/cache-factory.spec.ts +++ b/packages/http-front-cache/src/lib/cache-factory.spec.ts @@ -64,7 +64,7 @@ describe('cacheFactory', () => { expect(entry.data).toEqual(defaultResponse); }); - it('should call the service function again if the cache has expired and remove the data from the storage', async () => { + it('should call the service function again if the cache has expired and remove the data from the provider', async () => { await cachedServiceFunction(defaultParams); const cachedEntry = mockProvider.getItem(defaultHashedParams) as string;