I am writing custom jest transfomer for ejs templates something like this
const temp = require('underscore-template-loader');
module.exports = {
process(src) {
return temp(src);
},
};
i am getting error something like this TypeError: this.async is not a function . what is the correct way to write transformer using underscore-template-loader?