Skip to content

Commit a3f4ce1

Browse files
authored
refactor(core): use "Set up Rstest browser mode" as init header (#1281)
1 parent b84df0e commit a3f4ce1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/core/src/cli/init/browser/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async function createNonInteractive(
117117
const provider: BrowserProvider = 'playwright';
118118

119119
console.log();
120-
console.log(color.cyan('◆'), color.bold('rstest init browser --yes'));
120+
console.log(color.bold(color.magenta('Set up Rstest browser mode')));
121121
console.log();
122122

123123
// Show detection results
@@ -169,7 +169,7 @@ async function createInteractive(
169169
const effectiveFramework: Framework =
170170
framework === 'react' ? 'react' : 'vanilla';
171171

172-
intro(color.bgCyan(color.black(' rstest init browser ')));
172+
intro(color.bold(color.magenta('Set up Rstest browser mode')));
173173

174174
// Step 1: Show detection results
175175
const detectionLines: string[] = [];

website/docs/en/guide/browser-testing/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ When you run the command, Rstest automatically:
3030
Here's an example output for a React project:
3131

3232
```bash
33-
◆ @rstest/core init browser
33+
Set up Rstest browser mode
3434

3535
Detecting project...
3636
✓ Found React 19.0.0

website/docs/zh/guide/browser-testing/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { PackageManagerTabs } from '@theme';
3030
以下是 React 项目的初始化输出示例:
3131

3232
```bash
33-
◆ @rstest/core init browser
33+
Set up Rstest browser mode
3434

3535
Detecting project...
3636
✓ Found React 19.0.0

0 commit comments

Comments
 (0)