Edge Computing with Cloudflare Workers
Unit Testing Workers, in Cloudflare Workers

Unit Testing Workers, in Cloudflare Workers

5/2/2019 · Tim Obezuk

What this post added

Introduces a method for executing unit tests directly within the Cloudflare Workers runtime by creating a test harness that bundles the worker script and mocha tests using Webpack. This harness is deployed as a Worker itself, allowing tests to run in the production environment and return detailed JSON reports of test results.

Read the original post ↗