AI Summary: This GitHub issue proposes improving test cleanup in `validate-tokens.spec.ts` by replacing `vi.clearAllMocks()` with `vi.restoreAllMocks()`. The current approach only clears mock call history, potentially leading to flaky tests in sharded environments due to stale mock implementations. The recommended fix ensures proper restoration of all spies and mock implementations, enhancing test stability.
Admin portal for the Talawa Mobile App. Click on the link below to see our documentation