human-readable-errors
Version:
A library to transform complex error messages into human-readable solutions.
9 lines (8 loc) • 331 B
JavaScript
export default {
testEnvironment: "node", // Use the Node.js environment
testMatch: ["**/tests/**/*.test.mjs"], // Match test files with .mjs extension
transform: {}, // No need for transformation if using native ESM
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1", // Resolve .js file paths correctly
},
};