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

3
pnpm-lock.yaml generated
View File

@@ -592,6 +592,9 @@ importers:
packages/core-testing:
dependencies:
'@repo/core-shared':
specifier: workspace:*
version: link:../core-shared
'@tanstack/react-query':
specifier: ^5.59.0
version: 5.96.2(react@19.2.4)