Skip to content

Commit

Permalink
fix: update module warning as it is moved into server config (#3931)
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfishgh authored Aug 14, 2023
1 parent f4e6e99 commit 3a3eb22
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/vitest/src/node/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,12 @@ function printModuleWarningForPackage(logger: Logger, path: string, name: string
+ '\n'
+ c.green(`export default {
test: {
deps: {
inline: [
${c.yellow(c.bold(`"${name}"`))}
]
server: {
deps: {
inline: [
${c.yellow(c.bold(`"${name}"`))}
]
}
}
}
}\n`)))
Expand Down

0 comments on commit 3a3eb22

Please sign in to comment.