mobilizon.chapril.org-mobil.../js/tests/unit/svgTransform.ts

16 lines
337 B
TypeScript
Raw Normal View History

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