From 8c0e8bcf7c9589b027d17ee2e1da9183be60a4ab Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 28 Nov 2022 04:35:18 +0100 Subject: [PATCH] fix: "ReferenceError: true__options__ is not defined" (#509) --- packages/vue2-jest/lib/generate-code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` )