#TIL 8 - Jest testing with absolute import

// add below setting to jest.config.js
module.exports = {
moduleDirectories: ['node_modules', './'],
};
I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.
// add below setting to jest.config.js
module.exports = {
moduleDirectories: ['node_modules', './'],
};