mirror of
https://github.com/dcarrillo/atalaya.git
synced 2026-05-18 06:24:12 +00:00
add testing to status-page functions (#12)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user