provideLocationMocks
function
Returns mock providers for the Location
and LocationStrategy
classes.
The mocks are helpful in tests to fire simulated location events.
API
function provideLocationMocks(): Provider[];
Jump to details
Returns mock providers for the Location
and LocationStrategy
classes.
The mocks are helpful in tests to fire simulated location events.
function provideLocationMocks(): Provider[];