mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-17 05:21:49 -05:00
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