MCPcopy
hub / github.com/vitest-dev/vitest / globTestSpecifications

Method globTestSpecifications

packages/vitest/src/node/core.ts:575–577  ·  view source on GitHub ↗

* Glob test files in every project and create a TestSpecification for each file and pool. * @param filters String filters to match the test files.

(filters: string[] = [])

Source from the content-addressed store, hash-verified

573 * @param filters String filters to match the test files.
574 */
575 public async globTestSpecifications(filters: string[] = []): Promise<TestSpecification[]> {
576 return this.specifications.globTestSpecifications(filters)
577 }
578
579 private async initCoverageProvider(): Promise<CoverageProvider | null | undefined> {
580 if (this._coverageProvider != null) {

Callers 7

standaloneMethod · 0.95
rerunFilesMethod · 0.95
scheduleRerunMethod · 0.95
_globTestFilepathsMethod · 0.95
getTestFilesFunction · 0.45
inputFilePatternFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected