mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 07:04:45 -03:30
update file mock to return file name
This commit is contained in:
@@ -1 +1,7 @@
|
||||
module.exports = 'test-file-stub';
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
process (src, filename) {
|
||||
return `module.exports=${JSON.stringify(path.basename(filename))};`;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user