Tests und Mock

This commit is contained in:
ChK
2026-04-22 13:47:51 +02:00
parent 2505b8e310
commit dbe81ff8ec
7 changed files with 4392 additions and 5 deletions

11
jest.config.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
testEnvironment: 'node',
testMatch: ['**/test/**/*.test.js'],
collectCoverageFrom: [
'server/**/*.js',
'!server/config/**'
],
verbose: true,
// Ignoriere console.log Warnings nach Tests
setupFilesAfterEnv: ['<rootDir>/test/setup.js']
};