Skip to content

Commit 3a3eb22

Browse files
authored
fix: update module warning as it is moved into server config (#3931)
1 parent f4e6e99 commit 3a3eb22

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/vitest/src/node/error.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,12 @@ function printModuleWarningForPackage(logger: Logger, path: string, name: string
179179
+ '\n'
180180
+ c.green(`export default {
181181
test: {
182-
deps: {
183-
inline: [
184-
${c.yellow(c.bold(`"${name}"`))}
185-
]
182+
server: {
183+
deps: {
184+
inline: [
185+
${c.yellow(c.bold(`"${name}"`))}
186+
]
187+
}
186188
}
187189
}
188190
}\n`)))

0 commit comments

Comments
 (0)