Commit 2109f45d authored by 13138449's avatar 13138449

Upload New File

parent e3cb6af1
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment