1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
awx/__mocks__/fileMock.js
2018-11-02 16:32:51 -04:00

8 lines
159 B
JavaScript

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