references/miniflare/configuration.md
Miniflare Configuration
Direct Miniflare does not read Wrangler configuration. Configure its bindings explicitly and build TypeScript or bundled Workers before starting tests; see writing tests.
Match the Worker's intended compatibility date and flags when testing its behavior. Consult compatibility dates rather than substituting a fixed date from a sample.
| Configure | Documentation | |-----------|---------------| | Script source, HTTP server, request metadata, or reloading | Get started | | Module format and resolution rules | Modules | | Values and file-backed bindings | Variables and secrets | | Service bindings, shared storage, and several Workers | Multiple Workers | | Storage bindings and documented persistence options | KV, R2, D1, Durable Objects, Cache | | Queue producers and consumers | Queues |
If the task is to run tests from the project's build and Wrangler configuration, consider the integration test harness or Workers Vitest setup.