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

Method sort

test/cli/test/reporters/test-run.test.ts:1130–1132  ·  view source on GitHub ↗
(files: TestSpecification[])

Source from the content-addressed store, hash-verified

1128 sequence: {
1129 sequencer: class Sorter {
1130 sort(files: TestSpecification[]) {
1131 return files.sort((a, b) => a.moduleId.localeCompare(b.moduleId))
1132 }
1133
1134 shard(files: TestSpecification[]) {
1135 return files

Callers 15

runner.test.tsFile · 0.45
errors.test.tsFile · 0.45
readFilesFunction · 0.45
projects.test.tsFile · 0.45
getSerializedModuleGraphFunction · 0.45
rbFunction · 0.45
fnFunction · 0.45
eAFunction · 0.45
iLFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected