Skip to content

Commit 22182a3

Browse files
sheremet-vaAriPerkkio
authored andcommitted
test: fix failing cpu test
1 parent 607fd30 commit 22182a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/options.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ vi.mock(import('node:os'), async (importOriginal) => {
5151
const original = await importOriginal()
5252
return {
5353
...original,
54-
default: { ...original.default, cpus: () => Array(cpuCount) },
54+
availableParallelism: () => cpuCount,
5555
}
5656
})
5757

0 commit comments

Comments
 (0)