From db00897c3b5706fd9794056fa07340f728631139 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 4 Apr 2026 15:40:45 +0000 Subject: [PATCH 1/2] Initial plan From 19b4de31fc7f39da8fe1f6f3e437f9acce9a0863 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 4 Apr 2026 15:42:16 +0000 Subject: [PATCH 2/2] fix: correct onRefresh signature in MockAuthClient test-utils to include currentTokens parameter Agent-Logs-Url: https://github.com/forwardsoftware/react-auth/sessions/b6f55c79-068c-4a40-8450-f5518adede3f Co-authored-by: panz3r <1754457+panz3r@users.noreply.github.com> --- lib/test/test-utils.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test/test-utils.tsx b/lib/test/test-utils.tsx index 9a3e001..07d058e 100644 --- a/lib/test/test-utils.tsx +++ b/lib/test/test-utils.tsx @@ -24,7 +24,7 @@ class MockAuthClient implements AuthClient { throw new Error('Method not implemented.'); } - onRefresh(_minValidity?: number): Promise { + onRefresh(_currentTokens: MockTokens, _minValidity?: number): Promise { throw new Error('Method not implemented.'); } @@ -65,7 +65,7 @@ export const createMockAuthClientWithHooks = (hooks: Record) => { return Promise.resolve(); } - onRefresh(_minValidity?: number): Promise { + onRefresh(_currentTokens: MockTokens, _minValidity?: number): Promise { throw new Error('Method not implemented.'); }