From 77959191a7933fff83f72002ade1b5272eef2ff6 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Mon, 2 Oct 2023 08:52:24 +0300 Subject: [PATCH] Added test instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f5b3fdb..e08f230 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,16 @@ The `d1` driver will proxy the PDO queries to the Cloudflare D1 API to run quer ## 🐛 Testing +Start the built-in Worker that simulates the Cloudflare API: + +```bash +cd tests/worker +npm ci +npm run start +``` + +In a separate terminal, run the tests: + ``` bash vendor/bin/phpunit ```