module.exports = { setupFilesAfterEnv: ['./tests/init.js'], moduleNameMapper: { '\\.(css|scss|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|tgs)$': '/tests/staticFileMock.js', }, testPathIgnorePatterns: [ '/node_modules/', '/legacy_notes_and_workbook/', '/client/src/stylesheets/', ], testEnvironment: 'jsdom', transform: { '\\.(jsx?|tsx?)$': 'babel-jest', '\\.txt$': 'jest-raw-loader', }, };