feat(core-testing): RecordingJobQueue

Adds RecordingJobQueue implementing IJobQueue for use in unit tests.
Records all enqueue calls with taskSlug/input/options and returns
synthetic incrementing jobIds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-08 12:04:22 +02:00
parent 05f0b02856
commit 590b92f190
5 changed files with 42 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
"test": "vitest run"
},
"dependencies": {
"@repo/core-shared": "workspace:*",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.0",