- Updated Dockerfile to use Bun 1.0.26 as base image - Replaced npm/yarn scripts with Bun equivalents in package.json - Modernized .dockerignore with expanded file and directory exclusions - Simplified jest.config.cjs to use Bun's native testing framework - Added new ha-analyzer-cli.ts and health-check.ts utility scripts - Configured package manager to use Bun 1.0.26
17 lines
470 B
JavaScript
17 lines
470 B
JavaScript
/** @type {import('bun:test').BunTestConfig} */
|
|
module.exports = {
|
|
testEnvironment: 'node',
|
|
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
|
|
testMatch: ['**/__tests__/**/*.test.ts'],
|
|
collectCoverage: true,
|
|
coverageDirectory: 'coverage',
|
|
coverageThreshold: {
|
|
global: {
|
|
statements: 50,
|
|
branches: 50,
|
|
functions: 50,
|
|
lines: 50
|
|
}
|
|
},
|
|
setupFilesAfterEnv: ['./jest.setup.ts']
|
|
};
|