Skip to content

Commit c1eaeb6

Browse files
committed
feat: add integration tests for Redis using TestContainers, enhancing test reliability and isolation
1 parent 2e8f63e commit c1eaeb6

3 files changed

Lines changed: 992 additions & 376 deletions

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"test": "vitest run",
1111
"test:watch": "vitest --watch",
1212
"test:ui": "vitest --ui",
13+
"test:integration": "vitest run tests/integration",
14+
"test:unit": "vitest run tests --exclude tests/integration",
1315
"lint": "tsc --noEmit",
1416
"dev": "tsc --watch",
1517
"prepublishOnly": "npm run build && npm test",
@@ -39,6 +41,7 @@
3941
"@types/node": "^20.0.0",
4042
"better-sqlite3": "^12.0.0",
4143
"redis": "^5.5.6",
44+
"testcontainers": "^11.0.3",
4245
"typescript": "^5.0.0",
4346
"vitest": "^1.0.0"
4447
},

0 commit comments

Comments
 (0)