fix(#535): eliminate vi.mock(pdfjs-dist) birpc teardown race via libLoader injection #536

Merged
marcel merged 18 commits from feat/issue-535-birpc-teardown-race into main 2026-05-12 09:57:30 +02:00
Showing only changes of commit 18baba49e6 - Show all commits

View File

@@ -37,12 +37,14 @@ jobs:
working-directory: frontend
- name: Run unit and component tests with coverage
run: npm run test:coverage 2>&1 | tee /tmp/coverage-test.log; exit ${PIPESTATUS[0]}
shell: bash
run: npm run test:coverage 2>&1 | tee /tmp/coverage-test.log
working-directory: frontend
env:
TZ: Europe/Berlin
- name: Assert no birpc teardown race in coverage run
shell: bash
if: always()
run: |
if grep -q "rpc is closed" /tmp/coverage-test.log 2>/dev/null; then