Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Dec 10, 2024
1 parent c9e14c2 commit 23602f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/coverage-test/test/isolation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { WorkspaceSpec } from 'vitest/node'
import type { TestSpecification } from 'vitest/node'
import { expect, test } from 'vitest'
import { readCoverageMap, runVitest } from '../utils'

Expand Down Expand Up @@ -55,7 +55,7 @@ for (const isolate of [true, false]) {
}

class Sorter {
sort(files: WorkspaceSpec[]) {
sort(files: TestSpecification[]) {
return files.sort((a) => {
if (a.moduleId.includes('isolation-1')) {
return -1
Expand All @@ -64,7 +64,7 @@ class Sorter {
})
}

shard(files: WorkspaceSpec[]) {
shard(files: TestSpecification[]) {
return files
}
}

0 comments on commit 23602f0

Please sign in to comment.