1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
awx/__mocks__/fileMock.js

8 lines
159 B
JavaScript
Raw Normal View History

2018-11-02 23:32:51 +03:00
const path = require('path');
module.exports = {
process (src, filename) {
return `module.exports=${JSON.stringify(path.basename(filename))};`;
},
};