Skip to content

Commit 1f56679

Browse files
authored
chore: update no rerun log (#513)
1 parent 0523d7d commit 1f56679

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

e2e/watch/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('watch', () => {
6161
cli.resetStd();
6262
fs.delete('./fixtures-test-0/bar.test.ts');
6363
await cli.waitForStdout('Duration');
64-
expect(cli.stdout).toMatch('No test files are re-run.');
64+
expect(cli.stdout).toMatch('No test files need re-run.');
6565
expect(cli.stdout).toMatch('Test Files 1 passed');
6666

6767
cli.exec.kill();

packages/core/src/core/runTests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export async function runTests(context: Rstest): Promise<void> {
128128
if (affectedEntries.length === 0) {
129129
logger.debug(
130130
color.yellow(
131-
`No test files are re-run in project(${p.environmentName}).`,
131+
`No test files need re-run in project(${p.environmentName}).`,
132132
),
133133
);
134134
} else {
@@ -192,7 +192,7 @@ export async function runTests(context: Rstest): Promise<void> {
192192
if (results.length === 0) {
193193
if (command === 'watch') {
194194
if (mode === 'on-demand') {
195-
logger.log(color.yellow('No test files are re-run.'));
195+
logger.log(color.yellow('No test files need re-run.'));
196196
} else {
197197
logger.log(color.yellow('No test files found.'));
198198
}

0 commit comments

Comments
 (0)