From: Haoqun Jiang Date: Mon, 26 Jul 2021 11:20:15 +0000 (+0800) Subject: fix: should exclude unit tests from type checking X-Git-Tag: v3.0.0-alpha.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f66f0f4781b38cf6fd071caf5dfc5b15ec12cec;p=thirdparty%2Fvuejs%2Fcreate-vue.git 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 --- 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__/**" ] }