Skip to content

Commit ca119b5

Browse files
authored
Update src/content/docs/workers/testing/vitest-integration/configuration.mdx
1 parent 62cf87c commit ca119b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ The following APIs are exported from the `@cloudflare/vitest-pool-workers/config
5151

5252
### `defineWorkersConfig(options)`
5353

54-
Ensures Vitest is configured to use the Workers integration with the correct module resolution settings, and provides type checking for [WorkersPoolOptions](#workerspooloptions). This should be used in place of the [`defineConfig()`](https://vitest.dev/config/file.html) function from Vitest. It also accepts a `Promise` of `options`, or an optionally-`async` function returning `options`.
54+
Ensures Vitest is configured to use the Workers integration with the correct module resolution settings, and provides type checking for [WorkersPoolOptions](#workerspooloptions). This should be used in place of the [`defineConfig()`](https://vitest.dev/config/file.html) function from Vitest.
55+
56+
It also accepts a `Promise` of `options`, or an optionally-`async` function returning `options`.
5557

5658
```ts
5759
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config";

0 commit comments

Comments
 (0)