Alejandro Gallardo Escobar 9e74d6f0d1 Visual Console Refactor: changed the name to the visual console client directory
Former-commit-id: 1d4e175ecdd7a52f8f070a276412c0944ab597ee
2019-04-08 08:59:26 +02:00

15 lines
508 B
JavaScript

module.exports = {
roots: ["<rootDir>/src"],
transform: {
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
// This configuration is used to mock the css and file imports used by Webpack.
// https://jestjs.io/docs/en/webpack.html
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
}
};