We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4752b commit 9bf3768Copy full SHA for 9bf3768
packages/adapter-redis/package.json
@@ -24,12 +24,15 @@
24
},
25
"devDependencies": {
26
"@types/ioredis": "^5.0.0",
27
- "tsup": "8.3.5"
+ "tsup": "8.3.5",
28
+ "vitest": "^3.0.2"
29
30
"scripts": {
31
"build": "tsup --format esm --dts",
32
"dev": "tsup --format esm --dts --watch",
- "lint": "eslint --fix --cache ."
33
+ "lint": "eslint --fix --cache .",
34
+ "test": "vitest run",
35
+ "test:watch": "vitest"
36
37
"peerDependencies": {
38
"whatwg-url": "7.1.0"
packages/adapter-redis/vitest.config.ts
@@ -0,0 +1,8 @@
1
+import { defineConfig } from 'vitest/config';
2
+
3
+export default defineConfig({
4
+ test: {
5
+ globals: true,
6
+ environment: 'node',
7
+ },
8
+});
0 commit comments