Skip to content

Commit 7ed99cd

Browse files
authored
chore: remove unnecessery values() call for set (#8964)
1 parent 9044d93 commit 7ed99cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vitest/src/node/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class StateManager {
8787
}
8888

8989
getUnhandledErrors(): unknown[] {
90-
return Array.from(this.errorsSet.values())
90+
return Array.from(this.errorsSet)
9191
}
9292

9393
getPaths(): string[] {

0 commit comments

Comments
 (0)