Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions packages/wb/src/commands/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ export async function test(
process.exit(1);
}

if (projects.descendants.length > 1) {
// Disable interactive mode
process.env.CI = '1';
}
process.env.FORCE_COLOR ||= '3';
process.env.WB_ENV ||= 'test';

Expand Down
2 changes: 1 addition & 1 deletion packages/wb/src/scripts/execution/baseScripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export abstract class BaseScripts {
if (project.hasVitest) {
const bailOption = argv.bail ? ' --bail=1' : '';
// Since this command is referred from other commands, we have to use "vitest run" (non-interactive mode).
return `YARN vitest run ${testTarget} --color --passWithNoTests --allowOnly${bailOption}`;
return `YARN vitest run ${testTarget} --color --passWithNoTests --allowOnly --watch=false${bailOption}`;
} else if (project.isBunAvailable) {
const bailOption = argv.bail ? ' --bail' : '';
return `bun test ${testTarget}${bailOption}`;
Expand Down