diff --git a/website/docs/en/config/test/includeSource.mdx b/website/docs/en/config/test/includeSource.mdx index 96c48a27..b1a12872 100644 --- a/website/docs/en/config/test/includeSource.mdx +++ b/website/docs/en/config/test/includeSource.mdx @@ -7,7 +7,7 @@ In-source testing is where the test code lives within the same file as the sourc You can define a list of glob patterns that match your in-source test files via `includeSource` configuration. -```ts +```ts title="rstest.config.ts" import { defineConfig } from '@rstest/core'; export default defineConfig({ diff --git a/website/docs/zh/config/test/includeSource.mdx b/website/docs/zh/config/test/includeSource.mdx index cfc1a0b3..59a176ab 100644 --- a/website/docs/zh/config/test/includeSource.mdx +++ b/website/docs/zh/config/test/includeSource.mdx @@ -7,7 +7,7 @@ 你可以通过 `includeSource` 配置,定义一组用于匹配内联测试文件的 glob 模式列表。 -```ts +```ts title="rstest.config.ts" import { defineConfig } from '@rstest/core'; export default defineConfig({