From 5bb9cb64263f4f9641aa293ba15ca022e9f92b49 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 6 Nov 2026 14:46:47 +0800 Subject: [PATCH] docs: fix Rstest integration links Co-authored-by: Elecmonkey --- website/docs/en/guide/testing.mdx | 4 ++-- website/docs/zh/guide/testing.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/en/guide/testing.mdx b/website/docs/en/guide/testing.mdx index d0568acd..3a3d948b 100644 --- a/website/docs/en/guide/testing.mdx +++ b/website/docs/en/guide/testing.mdx @@ -40,7 +40,7 @@ When using [shared configurations](./configuration#shared-configurations), Rstac ### Inherit the application configuration -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: +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: ```ts title="rstack.config.ts" import { define } from 'rstack'; @@ -61,7 +61,7 @@ define.test({ ### Inherit the library configuration -When `define.lib()` is registered, Rstack CLI converts it with [`@rstest/adapter-rslib`](https://rstest.rs/guide/integration/rslib): +When `define.lib()` is registered, Rstack CLI converts it with [`@rstest/adapter-rslib`](https://rstest.rs/integration/rslib/): ```ts title="rstack.config.ts" import { define } from 'rstack'; diff --git a/website/docs/zh/guide/testing.mdx b/website/docs/zh/guide/testing.mdx index c1cfd835..0764f0c8 100644 --- a/website/docs/zh/guide/testing.mdx +++ b/website/docs/zh/guide/testing.mdx @@ -40,7 +40,7 @@ import { defineInlineProject, expect, test } from 'rstack/test'; ### 继承应用配置 \{#inherit-the-application-configuration} -注册 `define.app()` 后,Rstack CLI 会通过 [`@rstest/adapter-rsbuild`](https://rstest.rs/zh/guide/integration/rsbuild) 转换该配置,并将结果作为测试配置的 `extends`: +注册 `define.app()` 后,Rstack CLI 会通过 [`@rstest/adapter-rsbuild`](https://rstest.rs/zh/integration/rsbuild/) 转换该配置,并将结果作为测试配置的 `extends`: ```ts title="rstack.config.ts" import { define } from 'rstack'; @@ -61,7 +61,7 @@ define.test({ ### 继承库配置 \{#inherit-the-library-configuration} -注册 `define.lib()` 后,Rstack CLI 会通过 [`@rstest/adapter-rslib`](https://rstest.rs/zh/guide/integration/rslib) 转换该配置: +注册 `define.lib()` 后,Rstack CLI 会通过 [`@rstest/adapter-rslib`](https://rstest.rs/zh/integration/rslib/) 转换该配置: ```ts title="rstack.config.ts" import { define } from 'rstack';