mockWindowLocation

mockWindowLocation

mockWindowLocation(locPartial<Location>): WindowLocationMockHandle

Mock the window.location

Parameters
ParameterType
loc
Partial<Location>
Returns 
WindowLocationMockHandle

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.