mobilizon.chapril.org-mobil.../js/tests/unit/svgTransform.js
Thomas Citharel 2f25fa0ca6
Introduce basic js unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-02 12:08:32 +01:00

15 lines
269 B
JavaScript

const vueJest = require("vue-jest/lib/template-compiler");
module.exports = {
process(content) {
const { render } = vueJest({
content,
attrs: {
functional: false,
},
});
return `module.exports = { render: ${render} }`;
},
};