Add napcat-test package and Vitest setup

Introduces the napcat-test package with initial SHA-1 stream tests, configuration files, and scripts for running tests. Updates root package.json to include test commands and Vitest dependencies, and adds Vitest configuration at the root and package level for test environment setup.
This commit is contained in:
手瓜一十雪
2025-11-15 16:05:09 +08:00
parent 184d59ed22
commit fd0febb47b
7 changed files with 152 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
{
"name": "napcat-test",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"test": "vitest",
"test:ui": "vitest --ui"
},
"devDependencies": {
"vitest": "^4.0.9"
},
"dependencies": {
"napcat-core": "workspace:*"
}
}