learning_ai_common_plat/packages/testing/package.json
saravanakumardb1 7ffc60c490 feat(testing): create @bytelyst/testing shared package with 10 tests
Exports:
- createCosmosMocks(): full Cosmos DB mock factory for vitest
- TEST_USERS, TEST_JWT_SECRET, createTestTokenPayload(): auth fixtures
- injectGet/Post/Patch/Delete(): Fastify inject wrappers
- expectHealthOk(): health endpoint assertion helper
2026-02-12 22:59:28 -08:00

36 lines
664 B
JSON

{
"name": "@bytelyst/testing",
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"test": "vitest run"
},
"devDependencies": {
"@bytelyst/fastify-core": "workspace:*",
"@bytelyst/errors": "workspace:*",
"@fastify/cors": "^10.0.2",
"fastify": "^5.2.1"
},
"peerDependencies": {
"vitest": ">=3.0.0",
"fastify": ">=5.0.0"
},
"peerDependenciesMeta": {
"fastify": {
"optional": true
}
}
}