CreateMockAuthService

Function: createMockAuthService()

[object Object]

Defined in: testUtils.tsx:32

Builds a fully-stubbed IAuthService. All methods are vi.fn() so call assertions work out of the box; override only the methods a given test cares about.

Parameters

overrides?

Partial<IAuthService> = {}

Returns

IAuthService

On this page