fix: Startup warning caused by unnecessary compilation of tests and mocks in non-test environments

This commit is contained in:
Tom Moor
2022-07-02 15:57:35 +02:00
parent 4438c80ea1
commit 8ebf6e884f
2 changed files with 23 additions and 1 deletions

View File

@@ -35,6 +35,14 @@
"displayName": false "displayName": false
} }
] ]
],
"ignore": [
"**/*.test.ts"
]
},
"development": {
"ignore": [
"**/*.test.ts"
] ]
} }
} }

View File

@@ -24,5 +24,19 @@
} }
], ],
"tsconfig-paths-module-resolver" "tsconfig-paths-module-resolver"
] ],
"env": {
"production": {
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
},
"development": {
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
}
}
} }