mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
2f25fa0ca6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
14 lines
269 B
JavaScript
14 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} }`;
|
|
},
|
|
};
|