safesupport-chatbox/jest/fileTransform.js

8 lines
160 B
JavaScript
Raw Normal View History

2020-05-07 14:45:17 +00:00
const path = require('path');
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};