Commit dfd033f
docs: add ctx.exports documentation for vitest-pool-workers (#27037)
* docs: add ctx.exports documentation for vitest-pool-workers
- Add link to context-exports fixture on recipes page
- Add known issue about missing ctx.exports properties and additionalExports workaround
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* docs: add example of problematic code scenario for ctx.exports
Address reviewer feedback by adding a brief example showing a wildcard
re-export from a virtual module that cannot be automatically inferred.
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 3a40340 commit dfd033f
File tree
2 files changed
+35
-0
lines changed- src/content/docs/workers/testing/vitest-integration
2 files changed
+35
-0
lines changedLines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
72 | 106 | | |
73 | 107 | | |
74 | 108 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
0 commit comments