Cameron Robey
Cameron Robey
Introduces a repl style interface for cloudflare workers, running locally through miniflare. I think it is important that we let people know that this is running through miniflare; in this...
- Helpers to make releases easier! - We use changesets to make releases easier
### Which Cloudflare product does this pertain to? Workers ### Existing documentation URL(s) - https://developers.cloudflare.com/workers/examples/cron-trigger/ - https://developers.cloudflare.com/workers/examples/multiple-cron-triggers/ ### Section that requires update Examples ### What needs to change? - Update...
Initial implementation of `worker.scheduled()` for `unstable_dev`. (https://github.com/cloudflare/wrangler2/issues/1804) ```js const worker = await unstable_dev("index.js"); const resp1 = await worker.fetch("/path"); // We now export a way of testing scheduled events const resp2...
### Describe the solution There isn't really much reason for these to be outside of the wrangler package, so we should consider moving it into the main tests directory.
### Describe the solution For testing, it could be useful to be able to call `worker.scheduled()` alongside `worker.fetch()` to be able to write tests for functionality in scheduled events.
### Describe the solution For testing, it would be nice to have a way to only stop unstable dev once all promises in `waitUntil()`s have been resolved. For the following...