First commit

This commit is contained in:
Alejandro Celaya
2018-05-13 08:57:47 +02:00
commit c6ce052797
25 changed files with 4011 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};