Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add http cache and install info #32

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion packages/http-front-cache/src/lib/cache-factory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading