Skip to content

Commit ac0884f

Browse files
committed
feat: remove info log
1 parent 207fd53 commit ac0884f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/vue2-jest/lib/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@ const getBabelOptions = function loadBabelOptions(filename, options = {}) {
7676
const getTypeScriptConfig = function getTypeScriptConfig(path) {
7777
const tsconfig = loadTsConfigSync(process.cwd(), path || '')
7878
if (!tsconfig.path) {
79-
info(`Not found tsconfig.json.`)
79+
warn(`Not found tsconfig.json.`)
8080
return null
8181
}
82-
info(`Loaded TypeScript config from "${tsconfig.path}".`)
8382
const compilerOptions =
8483
(tsconfig.config && tsconfig.config.compilerOptions) || {}
8584

packages/vue3-jest/lib/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@ const getBabelOptions = function loadBabelOptions(filename, options = {}) {
7676
const getTypeScriptConfig = function getTypeScriptConfig(path) {
7777
const tsconfig = loadTsConfigSync(process.cwd(), path || '')
7878
if (!tsconfig.path) {
79-
info(`Not found tsconfig.json.`)
79+
warn(`Not found tsconfig.json.`)
8080
return null
8181
}
82-
info(`Loaded TypeScript config from "${tsconfig.path}".`)
8382
const compilerOptions =
8483
(tsconfig.config && tsconfig.config.compilerOptions) || {}
8584

0 commit comments

Comments
 (0)