Skip to content

Commit 5262d96

Browse files
committed
fix links
1 parent 9c11445 commit 5262d96

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

src/content/docs/workers/testing/miniflare/core/multiple-workers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ const res = await mf.dispatchFetch("http://api.mf/todos/update/1", { ... });
118118

119119
Miniflare supports the `script_name` option for accessing Durable Objects
120120
exported by other scripts. See
121-
[📌 Durable Objects](/workers/miniflare/storage/durable-objects#using-a-class-exported-by-another-script)
121+
[📌 Durable Objects](/workers/testing/miniflare/storage/durable-objects#using-a-class-exported-by-another-script)
122122
for more details.

src/content/docs/workers/testing/miniflare/get-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ order: 1
33
title: Get Started
44
---
55

6-
The Miniflare API allows you to dispatch events to workers without making actual HTTP requests, simulate connections between Workers, and interact with local emulations of storage products like [KV](/workers/miniflare/storage/kv), [R2](/workers/miniflare/storage/r2), and [Durable Objects](/workers/miniflare/storage/durable-objects). This makes it great for writing tests, or other advanced use cases where you need finer-grained control.
6+
The Miniflare API allows you to dispatch events to workers without making actual HTTP requests, simulate connections between Workers, and interact with local emulations of storage products like [KV](/workers/testing/miniflare/storage/kv), [R2](/workers/testing/miniflare/storage/r2), and [Durable Objects](/workers/testing/miniflare/storage/durable-objects). This makes it great for writing tests, or other advanced use cases where you need finer-grained control.
77

88
## Installation
99

@@ -47,7 +47,7 @@ console.log(await res.text()); // Hello Miniflare!
4747
await mf.dispose();
4848
```
4949

50-
The [rest of these docs](/workers/miniflare/core/fetch) go into more detail on configuring
50+
The [rest of these docs](/workers/testing/miniflare/core/fetch) go into more detail on configuring
5151
specific features.
5252

5353
### String and File Scripts
@@ -162,7 +162,7 @@ const queueResult = await worker.queue("needy", [
162162
console.log(queueResult); // { outcome: "ok", retryAll: true, ackAll: false, explicitRetries: [], explicitAcks: []}
163163
```
164164

165-
See [📨 Fetch Events](/workers/miniflare/core/fetch) and [⏰ Scheduled Events](/workers/miniflare/core/scheduled)
165+
See [📨 Fetch Events](/workers/testing/miniflare/core/fetch) and [⏰ Scheduled Events](/workers/testing/miniflare/core/scheduled)
166166
for more details.
167167

168168
### HTTP Server

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ TypeScript, and runs your code in a sandbox implementing Workers' runtime APIs.
2525
-**Fully-local:** test and develop Workers without an Internet connection.
2626
Reload code on change quickly.
2727

28-
<LinkButton href="/workers/miniflare/get-started">Get Started</LinkButton>
28+
<LinkButton href="/workers/testing/miniflare/get-started">
29+
Get Started
30+
</LinkButton>
2931
<LinkButton
3032
variant="secondary"
3133
href="https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare"

src/content/docs/workers/testing/miniflare/migrations/from-v2.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ please open an issue on
3030

3131
We have tried to keep Miniflare v3's API close to Miniflare v2 where possible,
3232
but many options and methods have been removed or changed with the switch to the
33-
open-source `workerd` runtime. See the [Getting Started guide for the new API docs](/workers/miniflare/get-started)
33+
open-source `workerd` runtime. See the [Getting Started guide for the new API docs](/workers/testing/miniflare/get-started)
3434

3535
### Updated Options
3636

@@ -198,7 +198,7 @@ open-source `workerd` runtime. See the [Getting Started guide for the new API do
198198
[`workerd`](https://github.com/cloudflare/workerd) server listening on the
199199
configured `host` and `port`, so these methods are redundant.
200200
- `dispatchScheduled()/startScheduled()`
201-
- The functionality of `dispatchScheduled` can now be done via `getWorker()`. For more information read the [scheduled events documentation](/workers/miniflare/core/scheduled#dispatching-events).
201+
- The functionality of `dispatchScheduled` can now be done via `getWorker()`. For more information read the [scheduled events documentation](/workers/testing/miniflare/core/scheduled#dispatching-events).
202202
- `dispatchQueue()`
203203
- Use the `queue()` method on
204204
[service bindings](/workers/runtime-apis/bindings/service-bindings)

src/content/docs/workers/testing/miniflare/storage/durable-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ console.log(await res.text()); // "1"
9292

9393
Miniflare supports the `script_name` option for accessing Durable Objects
9494
exported by other scripts. This requires mounting the other worker as described
95-
in [🔌 Multiple Workers](/workers/miniflare/core/multiple-workers).
95+
in [🔌 Multiple Workers](/workers/testing/miniflare/core/multiple-workers).

0 commit comments

Comments
 (0)