feat(test-components): add asset resolver for jest

This commit is contained in:
eliabejr 2019-01-25 17:49:01 -03:00
parent 685113ef2e
commit e5f43dff4a
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
const path = require('path');
module.exports = {
process(filename) {
return 'module.exports = ' + JSON.stringify(path.basename(filename)) + ';';
},
};