feat(core-testing): add RecordingRateLimit for test assertions

Captures consume + reset call arguments verbatim via consumeCalls and
resetCalls accessors. Uses local IRateLimit type alias (no core-shared
dep) following the recording-job-queue pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-20 08:36:37 +00:00
parent f2449c9d65
commit 5efa0220d0
4 changed files with 114 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
export * from "./factory/index.js";
export * from "./contract/index.js";
export * from "./instrumentation/index.js";
export * from "./rate-limit/index.js";