-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export wrap from middleware-ensure-req-body-drained #5158
Conversation
|
packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts
Outdated
Show resolved
Hide resolved
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-wrangler-5158 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5158/npm-package-wrangler-5158 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-wrangler-5158 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-create-cloudflare-5158 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-cloudflare-kv-asset-handler-5158 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-miniflare-5158 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-cloudflare-pages-shared-5158 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8154090722/npm-package-cloudflare-vitest-pool-workers-5158 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5158 +/- ##
==========================================
+ Coverage 70.31% 70.38% +0.06%
==========================================
Files 298 298
Lines 15551 15551
Branches 4001 4001
==========================================
+ Hits 10935 10945 +10
+ Misses 4616 4606 -10 |
This one liner fixes a warning when using
unstable_dev
withexperimental.testMode: false
(needed because I want to customise the dev server and still have watch mode).