const config = require('../../jest.config'); module.exports = { ...config, roots: [__dirname], moduleNameMapper: { '\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/__mocks__/fileMock.js', '\\.(css|scss|stylesheet)$': '/__mocks__/styleMock.js', '\\.(md)$': '/__mocks__/htmlMock.js', }, moduleDirectories: ['/node_modules', 'src'], };