Skip to content

Latest commit

 

History

History
 
 

README.md

zero-cache

Testing

Postgres-agnostic Tests

These are run from within isolated workerd runtimes (i.e. Miniflare 3) via Cloudflare Workers Vitest integration.

npm run test

Postgres-dependent Tests

These require Docker, and are run with Testcontainers.

npm run pg-test

All Tests

Runs all tests, including Postgres-dependent Tests, from within the workerd runtime.

This requires a local Postgres instance (e.g. https://postgres.app).

TODO: Replace this requirement with Testcontainers.

npm run all-test