Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 893 Bytes

File metadata and controls

8 lines (6 loc) · 893 Bytes

⚡️ pages-functions-unit-integration-self

This project uses Pages Functions. Integration tests dispatch events using exports.default from the cloudflare:workers module. Unit tests call handler functions directly. global-setup.ts builds Pages Functions into a Worker for integration testing, watching for changes.

Test Overview
integration-self.test.ts Basic fetch integration test using exports.default (recommended)
unit.test.ts Basic unit test calling worker.fetch() directly