mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +00:00
8dc5b8a4b0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
332 B
JavaScript
15 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} }`;
|
|
},
|
|
};
|