Skip to content

Commit f70983f

Browse files
docs: fix Rstest integration links (#619)
Co-authored-by: Elecmonkey <elecmonkey@hotmail.com>
1 parent 4e629a4 commit f70983f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎website/docs/en/guide/testing.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ When using [shared configurations](./configuration#shared-configurations), Rstac
4040

4141
### Inherit the application configuration
4242

43-
When `define.app()` is registered, Rstack CLI converts it with [`@rstest/adapter-rsbuild`](https://rstest.rs/guide/integration/rsbuild) and uses the result as the test configuration's `extends` value:
43+
When `define.app()` is registered, Rstack CLI converts it with [`@rstest/adapter-rsbuild`](https://rstest.rs/integration/rsbuild/) and uses the result as the test configuration's `extends` value:
4444

4545
```ts title="rstack.config.ts"
4646
import { define } from 'rstack';
@@ -61,7 +61,7 @@ define.test({
6161

6262
### Inherit the library configuration
6363

64-
When `define.lib()` is registered, Rstack CLI converts it with [`@rstest/adapter-rslib`](https://rstest.rs/guide/integration/rslib):
64+
When `define.lib()` is registered, Rstack CLI converts it with [`@rstest/adapter-rslib`](https://rstest.rs/integration/rslib/):
6565

6666
```ts title="rstack.config.ts"
6767
import { define } from 'rstack';

‎website/docs/zh/guide/testing.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { defineInlineProject, expect, test } from 'rstack/test';
4040

4141
### 继承应用配置 \{#inherit-the-application-configuration}
4242

43-
注册 `define.app()` 后,Rstack CLI 会通过 [`@rstest/adapter-rsbuild`](https://rstest.rs/zh/guide/integration/rsbuild) 转换该配置,并将结果作为测试配置的 `extends`:
43+
注册 `define.app()` 后,Rstack CLI 会通过 [`@rstest/adapter-rsbuild`](https://rstest.rs/zh/integration/rsbuild/) 转换该配置,并将结果作为测试配置的 `extends`:
4444

4545
```ts title="rstack.config.ts"
4646
import { define } from 'rstack';
@@ -61,7 +61,7 @@ define.test({
6161

6262
### 继承库配置 \{#inherit-the-library-configuration}
6363

64-
注册 `define.lib()` 后,Rstack CLI 会通过 [`@rstest/adapter-rslib`](https://rstest.rs/zh/guide/integration/rslib) 转换该配置:
64+
注册 `define.lib()` 后,Rstack CLI 会通过 [`@rstest/adapter-rslib`](https://rstest.rs/zh/integration/rslib/) 转换该配置:
6565

6666
```ts title="rstack.config.ts"
6767
import { define } from 'rstack';

0 commit comments

Comments
 (0)