Files
portifolio-evandrodevbr/jest.config.ts
T
Evandro Fonseca Junior b791b7de9e feat: control room hero, SEO/AEO optimization and design system fixes
Hero: replace particle field with cobe globe (Capricorn view, multi-axis drag, reduced-motion safe), telemetry HUD with pointer parallax, particle text build effect, Space Grotesk display font. SEO: short titles with template, PT-BR accents, twitter cards on dynamic cases, escaped JSON-LD via lib/jsonld.ts, CSP report-only, 25 service FAQs answer-first. Design: fix TW4 layered reset killing spacing utilities, literal @theme tokens, mobile hero overflow, header overlap, empty case cards. Remove framer-motion (unified on motion/react), header version badge, phone number from hero CTA. Production build verified (24 static pages).
2026-08-27 10:55:21 -03:00

34 lines
886 B
TypeScript

import type { Config } from "jest";
const config: Config = {
coverageProvider: "v8",
testEnvironment: "jsdom",
roots: ["<rootDir>/app", "<rootDir>/lib"],
modulePathIgnorePatterns: ["<rootDir>/.worktrees/"],
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/$1",
"^.+\\.(css|sass|scss)$": "identity-obj-proxy",
"^.+/animations/PointCloud$":
"<rootDir>/app/components/animations/__mocks__/PointCloud.tsx",
},
testMatch: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
transform: {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
tsconfig: {
jsx: "react-jsx",
esModuleInterop: true,
},
},
],
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
testEnvironmentOptions: {
customExportConditions: [""],
},
};
export default config;