@wbe/react-transition
Version:
    • 846 B
JavaScript
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/en/configuration.html
*/
module.exports = {
// preset: "ts-jest",
// transform: {
// "^.+\\.(ts|tsx)?$": "ts-jest",
// "^.+\\.(js|jsx)$": "babel-jest",
// },
testEnvironment: "jsdom",
// Automatically clear mock calls and instances between every test
clearMocks: true,
// The directory where Jest should output its coverage files
coverageDirectory: "coverage",
// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ["/node_modules/"],
// Indicates which provider should be used to instrument code for coverage
coverageProvider: "babel",
// An array of file extensions your modules use
moduleFileExtensions: ["js", "jsx", "ts", "tsx"],
};