MCPcopy
hub / github.com/angular-ui/ui-router / stripQueryAndHash

Function stripQueryAndHash

test/angular/1.7/angular-mocks.js:2155–2157  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

2153}
2154
2155function stripQueryAndHash(url) {
2156 return url.replace(/[?#].*$/, '');
2157}
2158
2159function MockHttpExpectation(expectedMethod, expectedUrl, expectedData, expectedHeaders,
2160 expectedKeys) {

Callers 2

parseRouteUrlFunction · 0.85
MockHttpExpectationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected