Skip to content

Commit

Permalink
fix: update README for clarity and move test files for better organis…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
apetta committed Dec 18, 2024
1 parent ae610f3 commit 6a032bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-cache-plus

`node-cache-plus` is a wrapper around the popular library [`node-cache`](https://github.com/node-cache/node-cache/tree/master) with additional features such tag-based invalidation, factory functions, and other helpers for in-memory caching in Node.js applications.
`node-cache-plus` is a wrapper around the popular library [`node-cache`](https://github.com/node-cache/node-cache/tree/master) with additional features such as tag-based invalidation, factory functions, and other helpers for in-memory caching in Node.js applications.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/Cache.test.ts → src/tests/Cache.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { beforeEach, describe, expect, it } from "vitest";
import { Cache } from "./Cache";
import { Cache } from "../Cache";

describe("Cache", () => {
let cache: Cache;
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.test.ts → src/tests/helpers.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { cachedCall, withCache } from "./helpers";
import { cachedCall, withCache } from "../helpers";

// A mock function that simulates an expensive async operation
async function expensiveFunction(param: string): Promise<string> {
Expand Down

0 comments on commit 6a032bf

Please sign in to comment.