diff --git a/packages/vue2-jest/lib/generate-code.js b/packages/vue2-jest/lib/generate-code.js index 5ef91438..a3f9d13c 100644 --- a/packages/vue2-jest/lib/generate-code.js +++ b/packages/vue2-jest/lib/generate-code.js @@ -54,7 +54,7 @@ module.exports = function generateCode( ) node.add( - `__options__.render = render\n` + + `\n__options__.render = render\n` + `${namespace}.staticRenderFns = staticRenderFns\n` )