You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vitest/src/node/core.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -431,7 +431,7 @@ export class Vitest {
431
431
if(this.config.projects){
432
432
if(typeofthis.config.workspace!=='undefined'){
433
433
this.logger.warn(
434
-
'Both `config.projects` and `config.workspace` are defined. Ignoring the `workspace` option.',
434
+
'Both `test.projects` and `test.workspace` are defined. Ignoring the `test.workspace` option.',
435
435
)
436
436
}
437
437
@@ -446,7 +446,7 @@ export class Vitest {
446
446
447
447
if(Array.isArray(this.config.workspace)){
448
448
this.logger.deprecate(
449
-
'The `workspace` option is deprecated and will be removed in the next major. To hide this warning, rename `workspace` option to `projects`.',
449
+
'The `test.workspace` option is deprecated and will be removed in the next major. To hide this warning, rename `test.workspace` option to `test.projects`.',
450
450
)
451
451
returnresolveProjects(
452
452
this,
@@ -477,7 +477,7 @@ export class Vitest {
477
477
: 'the root config file'
478
478
479
479
this.logger.deprecate(
480
-
`The workspace file is deprecated and will be removed in the next major. Please, use the \`projects\` field in ${configFile} instead.`,
480
+
`The workspace file is deprecated and will be removed in the next major. Please, use the \`test.projects\` field in ${configFile} instead.`,
0 commit comments