mc-publish/jest.config.js

12 lines
392 B
JavaScript
Raw Permalink Normal View History

2021-09-21 03:27:32 -04:00
module.exports = {
clearMocks: true,
moduleFileExtensions: ["js", "ts"],
testMatch: ["**/*.test.ts"],
transform: { ".(t|j)s$": "babel-jest" },
2021-09-25 08:45:44 -04:00
transformIgnorePatterns: ["/node_modules/(?!node-fetch|fetch-blob).+\\.js$"],
moduleNameMapper: {
"formdata-node/file-from-path": "<rootDir>node_modules/formdata-node/lib/cjs/fileFromPath"
},
2021-09-21 03:27:32 -04:00
verbose: true
};