Add Vitest testing framework and implement tests for memory management features

This commit is contained in:
olaservo
2025-10-28 20:06:34 -07:00
parent 99c85da526
commit e68a555943
6 changed files with 597 additions and 23 deletions

View File

@@ -16,14 +16,17 @@
"scripts": {
"build": "tsc && shx chmod +x dist/*.js",
"prepare": "npm run build",
"watch": "tsc --watch"
"watch": "tsc --watch",
"test": "vitest run --coverage"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.19.1"
},
"devDependencies": {
"@types/node": "^22",
"@vitest/coverage-v8": "^2.1.8",
"shx": "^0.3.4",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"vitest": "^2.1.8"
}
}