50e25e3ee8
Rename subdirectories for a cleaner single-repo layout: - website-monitoring-backend/ → backend/ - website-monitoring-frontend/ → frontend/ - website-monitoring-devops/ → devops/ Update all references in package.json scripts, CI workflows, docker-compose, pre-commit hooks, and documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
316 B
TypeScript
16 lines
316 B
TypeScript
import nextJest from 'next/jest.js';
|
|
|
|
const createJestConfig = nextJest({
|
|
dir: './',
|
|
});
|
|
|
|
const customJestConfig = {
|
|
testEnvironment: 'jsdom',
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/src/$1',
|
|
},
|
|
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
|
|
};
|
|
|
|
export default createJestConfig(customJestConfig);
|