gsxdsm
38d128ca29
FN-9103: align auth route tests with model refresh caching
Update dashboard auth route coverage and engine mocks for cached model registry refresh behavior.
- provide faithful bounded model registry refresh helpers in the dashboard engine mock
- reset refresh cache state between API key route tests
- verify API key saves invalidate the cache without redundant refreshes
Files changed:
.../dashboard/src/__tests__/routes-auth.test.ts | 20 ++++--
packages/dashboard/src/test/mockCoreEngine.ts | 74 ++++++++++++++++++++++
2 files changed, 90 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-9103
Fusion-Task-Lineage: d09453b1-08a5-4cde-849c-31e22bd61c0f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-15 14:40:55 -07:00
..
2026-08-15 12:04:30 -07:00
2026-08-13 01:41:54 -07:00
2026-08-15 14:19:23 -07:00
2026-08-15 14:40:55 -07:00
2026-08-13 01:41:54 -07:00
2026-08-13 01:41:54 -07:00
2026-08-15 14:19:23 -07:00
2026-08-14 23:33:36 -07:00
2026-08-13 01:41:54 -07:00
2026-08-13 01:41:54 -07:00
2026-07-27 19:40:08 -07:00
2026-08-13 01:41:54 -07:00