Skip to content

Commit

Permalink
types: use satisfies for defaults (#4738)
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Dec 19, 2023
1 parent f8f70f7 commit e975b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vitest/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ const config = {
exclude: defaultExclude,
},
slowTestThreshold: 300,
}
} satisfies UserConfig

export const configDefaults: Required<Pick<UserConfig, keyof typeof config>> = Object.freeze(config)
export const configDefaults = Object.freeze(config)

0 comments on commit e975b57

Please sign in to comment.