Initial commit: breakpilot-lehrer - Lehrer KI Platform
Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website, Klausur-Service, School-Service, Voice-Service, Geo-Service, BreakPilot Drive, Agent-Core Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
23
website/jest.config.js
Normal file
23
website/jest.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
/** @type {import('jest').Config} */
|
||||
const config = {
|
||||
testEnvironment: 'node',
|
||||
roots: ['<rootDir>/tests'],
|
||||
testMatch: ['**/*.test.ts'],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest',
|
||||
},
|
||||
moduleFileExtensions: ['ts', 'js', 'json'],
|
||||
// Ignore node_modules and .next
|
||||
testPathIgnorePatterns: ['/node_modules/', '/.next/'],
|
||||
// Clear mocks between tests
|
||||
clearMocks: true,
|
||||
// Coverage configuration
|
||||
collectCoverageFrom: [
|
||||
'app/**/*.{ts,tsx}',
|
||||
'components/**/*.{ts,tsx}',
|
||||
'lib/**/*.{ts,tsx}',
|
||||
'!**/*.d.ts',
|
||||
],
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
Reference in New Issue
Block a user