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
36 lines
664 B
JSON
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
|
|
}
|
|
}
|
|
}
|