Skip to content

Commit

Permalink
mono - adding in vitest for workspace support (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray authored Dec 3, 2024
1 parent 7a98aca commit 8d3c8fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"author": "Jared Wray <[email protected]>",
"license": "MIT",
"devDependencies": {
"c8": "^10.1.2"
"c8": "^10.1.2",
"vitest": "^2.1.8"
}
}
10 changes: 10 additions & 0 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { defineWorkspace } from 'vitest/config'

export default defineWorkspace([
"./packages/node-cache/vite.config.ts",
"./packages/cache-manager/vite.config.ts",
"./packages/file-entry-cache/vite.config.ts",
"./packages/flat-cache/vite.config.ts",
"./packages/cacheable-request/vitest.config.mjs",
"./packages/cacheable/vite.config.ts"
])

0 comments on commit 8d3c8fb

Please sign in to comment.