/** @type {import('jest').Config} */ module.exports = { 'moduleNameMapper': { '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/__mocks__/fileMock.js', '\\.(css|less|sass|scss)$': '/__mocks__/styleMock.js' }, 'transform': { '^.+\\.js$': '@swc/jest' }, transformIgnorePatterns: ['!node_modules/'], testEnvironment: 'jest-fixed-jsdom', setupFilesAfterEnv: ['/setupTests.js'] }