mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 16:03:25 +00:00
3ff7bc4512
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
337 B
TypeScript
15 lines
337 B
TypeScript
// 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} }`;
|
|
},
|
|
};
|