From 2f8084d4434a68f587dd236e07bd1b3d036abfce Mon Sep 17 00:00:00 2001 From: nogic <24802730+nogic1008@users.noreply.github.com> Date: Sun, 21 Aug 2022 10:54:44 +0900 Subject: [PATCH 1/2] fix(vue3-jest): reduce `getTypeScriptConfig` calls --- packages/vue3-jest/lib/process.js | 37 ++++++++++++++++++------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/packages/vue3-jest/lib/process.js b/packages/vue3-jest/lib/process.js index 735546a1..a8d1c5c9 100644 --- a/packages/vue3-jest/lib/process.js +++ b/packages/vue3-jest/lib/process.js @@ -71,6 +71,12 @@ function processScriptSetup(descriptor, filePath, config) { return result } +/** + * Process SFC