add testing to status-page functions (#12)

This commit is contained in:
2026-04-25 14:53:38 +02:00
committed by GitHub
parent 298feb574e
commit 1bd96d046c
13 changed files with 154 additions and 43 deletions
+6 -3
View File
@@ -381,15 +381,18 @@ curl "http://localhost:8787/__scheduled?cron=*+*+*+*+*"
### Testing
```bash
# Fist build the status page
# First build the status page
npm run build:pages
# Worker tests
npm run test
# Status page unit tests
npm run test:pages
# Type checking and linting
npm run check # worker
npm run check:pages # pages (astro check + tsc)
npm run check # worker (typecheck + lint + format)
npm run check:pages # pages (astro check + tsc + lint)
```
## TODO