UNPKG

react-zeroconfig

Version:
19 lines • 1.05 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; const path_1 = __importDefault(require("path")); module.exports = { transform: { '\\.[jt]sx?$': path_1.default.join(__dirname, 'jest-preset-files/transform/script.js'), '\\.(yaml|yml)$': path_1.default.join(__dirname, 'jest-preset-files/transform/yaml.js'), }, moduleNameMapper: { '\\.(bmp|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|html|ejs|txt|md)$': path_1.default.join(__dirname, 'jest-preset-files/mockup/file.js'), '\\.(css|less|scss|sass)$': path_1.default.join(__dirname, 'jest-preset-files/mockup/style.js'), }, testMatch: ['**/__test?(s)__/**/*.[jt]s?(x)', '**/?(*.)(spec|test).[jt]s?(x)'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'yaml', 'yml'], moduleDirectories: ['<rootDir>/node_modules', '<rootDir>/src/_packages', '<rootDir>/src'], }; //# sourceMappingURL=jest-preset.js.map