mobilizon.chapril.org-mobil.../js/tests/unit/svgTransform.js
Thomas Citharel 8dc5b8a4b0
Fix lint issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-14 10:21:04 +01:00

16 lines
332 B
JavaScript

// eslint-disable-next-line @typescript-eslint/no-var-requires
const vueJest = require("vue-jest/lib/template-compiler");
module.exports = {
process(content) {
const { render } = vueJest({
content,
attrs: {
functional: false,
},
});
return `module.exports = { render: ${render} }`;
},
};