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: 2 additions & 2 deletions website/docs/en/guide/testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
4 changes: 2 additions & 2 deletions website/docs/zh/guide/testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
Loading