react-cascading-menu
Version:
A powerful React cascading dropdown component with multi-selection, search functionality, and hierarchical navigation. Perfect for building category selectors, dependent dropdowns, and nested menu systems with TypeScript support.
17 lines (16 loc) • 548 B
JavaScript
module.exports = {
preset: "ts-jest",
testEnvironment: "jest-environment-jsdom",
moduleNameMapper: {
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
"\\.svg$": "<rootDir>/__mocks__/svgMock.js",
},
transform: {
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(js|jsx)?$": "babel-jest",
"\\.svg$": "jest-transform-stub",
},
transformIgnorePatterns: ["<rootDir>/node_modules/"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
};