From 5f66f0f4781b38cf6fd071caf5dfc5b15ec12cec Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 26 Jul 2021 19:20:15 +0800 Subject: [PATCH] fix: should exclude unit tests from type checking 1. there's a bug in `@cypress/vue` at the moment https://github.com/cypress-io/cypress/issues/17480 2. no need to fail the whole build process only because of a type error in a spec file. We may add a specific command to typechecking the spec files later --- template/config/base/jsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/template/config/base/jsconfig.json b/template/config/base/jsconfig.json index 7fa21452..d3adf1bf 100644 --- a/template/config/base/jsconfig.json +++ b/template/config/base/jsconfig.json @@ -23,5 +23,8 @@ "src/**/*", "src/**/*.vue" + ], + "exclude": [ + "src/**/__tests__/**" ] } -- 2.39.5