diff --git a/__tests__/setup/assetTransformer.js b/__tests__/setup/assetTransformer.js new file mode 100644 index 0000000..1f173b0 --- /dev/null +++ b/__tests__/setup/assetTransformer.js @@ -0,0 +1,7 @@ +const path = require('path'); + +module.exports = { + process(filename) { + return 'module.exports = ' + JSON.stringify(path.basename(filename)) + ';'; + }, +}; \ No newline at end of file