chore: migrate project to Bun testing framework and update configuration

- Replace Jest with Bun's native testing framework
- Update test configuration and utilities to support Bun test environment
- Add mock implementations for SSE and security testing
- Refactor test setup to use Bun's testing utilities
- Update package dependencies and scripts to align with Bun testing
- Enhance type definitions for Bun test mocking
This commit is contained in:
jango-blockchained
2025-02-03 22:19:43 +01:00
parent b7856e9d05
commit a53cec7b28
12 changed files with 403 additions and 175 deletions

View File

@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"module": "ESNext",
"moduleResolution": "node",
"outDir": "./dist",
"rootDir": ".",
"strict": true,
@@ -37,11 +37,11 @@
},
"include": [
"src/**/*",
"__tests__/**/*"
"jest.config.ts"
],
"exclude": [
"node_modules",
"**/__tests__/**/*.ts",
"**/*.test.ts"
"dist",
"coverage"
]
}