We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4cc7e1 commit 481b1fdCopy full SHA for 481b1fd
packages/vitest/src/node/core.ts
@@ -285,18 +285,12 @@ export class Vitest {
285
return
286
}
287
288
- try {
289
- await this.initCoverageProvider()
290
- await this.coverageProvider?.clean(this.config.coverage.clean)
291
- await this.initBrowserProviders()
292
- }
293
- catch (e) {
294
- this.logger.error(e)
295
- process.exit(1)
296
297
-
298
await this.report('onInit', this)
299
+ await this.initCoverageProvider()
+ await this.coverageProvider?.clean(this.config.coverage.clean)
+ await this.initBrowserProviders()
+
300
const files = await this.filterTestsBySource(
301
await this.globTestFiles(filters),
302
)
0 commit comments