safesupport-chatbox/jest/fileTransform.js
2020-05-07 10:45:17 -04:00

8 lines
160 B
JavaScript

const path = require('path');
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};