Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

⚡️ 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