Skip to content

Commit 0fcddf5

Browse files
committed
fix links
1 parent 06c6f67 commit 0fcddf5

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/content/docs/agents/getting-started/testing-your-agent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ $ npx vitest
120120
Test Files 1 passed (1)
121121
```
122122

123-
Review the [documentation on testing](/workers/testing/vitest-integration/get-started/write-your-first-test/) for additional examples and test configuration.
123+
Review the [documentation on testing](/workers/testing/vitest-integration/write-your-first-test/) for additional examples and test configuration.
124124

125125
## Running Agents locally
126126

src/content/docs/workers/observability/source-maps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When `upload_source_maps` is set to `true`, Wrangler will automatically generate
2828

2929
:::note
3030

31-
Miniflare can also [output source maps](https://miniflare.dev/developing/source-maps) for use in local development or [testing](/workers/testing/integration-testing/#miniflares-api).
31+
Miniflare can also [output source maps](https://miniflare.dev/developing/source-maps) for use in local development or [testing](/workers/testing/miniflare/writing-tests).
3232

3333
:::
3434

src/content/docs/workers/testing/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Render, LinkButton } from "~/components";
99

1010
The Workers platform has a variety of ways to test your applications, depending on your requirements. We recommend using the [Vitest integration](/workers/testing/vitest-integration), which allows you to run tests to _inside_ the Workers runtime, and unit test individual functions within your Worker.
1111

12-
<LinkButton href="/workers/testing/vitest-integration/get-started/write-your-first-test/">
12+
<LinkButton href="/workers/testing/vitest-integration/write-your-first-test/">
1313
Get started with Vitest
1414
</LinkButton>
1515

src/content/docs/workers/testing/vitest-integration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ The Workers Vitest integration:
1919
- Provides a declarative interface for mocking outbound requests.
2020
- Supports projects with multiple Workers.
2121

22-
<LinkButton href="/workers/testing/vitest-integration/get-started/write-your-first-test/">
22+
<LinkButton href="/workers/testing/vitest-integration/write-your-first-test/">
2323
Write your first test
2424
</LinkButton>

src/content/docs/workers/testing/vitest-integration/migration-guides/migrate-from-unstable-dev.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Migrate from the
1111

1212
The [`unstable_dev`](/workers/wrangler/api/#unstable_dev) API has been a recommended approach to run integration tests. The `@cloudflare/vitest-pool-workers` package integrates directly with Vitest for fast re-runs, supports both unit and integration tests, all whilst providing isolated per-test storage.
1313

14-
This guide demonstrates key differences between tests written with the `unstable_dev` API and the Workers Vitest integration. For more information on writing tests with the Workers Vitest integration, refer to [Write your first test](/workers/testing/vitest-integration/get-started/write-your-first-test/).
14+
This guide demonstrates key differences between tests written with the `unstable_dev` API and the Workers Vitest integration. For more information on writing tests with the Workers Vitest integration, refer to [Write your first test](/workers/testing/vitest-integration/write-your-first-test/).
1515

1616
## Reference a Worker for integration testing
1717

@@ -76,7 +76,7 @@ Unlike the `unstable_dev` API, the Workers Vitest integration does not support t
7676

7777
## Define types
7878

79-
You can remove `UnstableDevWorker` imports from your code. Instead, follow the [Write your first test guide](/workers/testing/vitest-integration/get-started/write-your-first-test/#define-types) to define types for all of your tests.
79+
You can remove `UnstableDevWorker` imports from your code. Instead, follow the [Write your first test guide](/workers/testing/vitest-integration/write-your-first-test/#define-types) to define types for all of your tests.
8080

8181
```diff
8282
- import { unstable_dev } from "wrangler";

src/content/docs/workers/wrangler/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ By default, `unstable_dev` will perform integration tests against a local server
6565

6666
The `unstable_dev()` function has an `unstable_` prefix because the API is experimental and may change in the future. We recommend migrating to the `unstable_startWorker()` API, documented above.
6767

68-
If you have been using `unstable_dev()` for integration testing and want to migrate to Cloudflare's Vitest integration, refer to the [Migrate from `unstable_dev` migration guide](/workers/testing/vitest-integration/get-started/migrate-from-unstable-dev/) for more information.
68+
If you have been using `unstable_dev()` for integration testing and want to migrate to Cloudflare's Vitest integration, refer to the [Migrate from `unstable_dev` migration guide](/workers/testing/vitest-integration/migrate-from-unstable-dev/) for more information.
6969

7070
:::
7171

0 commit comments

Comments
 (0)