test: refactor tests (#22677)

* test: refactor tests

* test: run *.worker.ts unit tests inside workerd
This commit is contained in:
Tony
2026-07-10 23:26:43 +08:00
committed by GitHub
parent b7e706df81
commit 0ab18ff80e
51 changed files with 1714 additions and 1986 deletions
+2
View File
@@ -50,6 +50,8 @@ jobs:
run: pnpm run vitest:coverage --reporter=github-actions
env:
REDIS_URL: redis://localhost:${{ job.services.redis.ports['6379'] }}/
- name: Test worker runtime (workerd)
run: pnpm run vitest:workerd
- name: Upload coverage to Codecov
if: ${{ matrix.node-version == 'lts/*' }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0