MCPcopy
hub / github.com/angular/angular / setupUrl

Function setupUrl

packages/common/upgrade/test/upgrade.spec.ts:202–204  ·  view source on GitHub ↗
(url = '/path/b?search=a&b=c&d#hash')

Source from the content-addressed store, hash-verified

200
201 // Sets the default most of these tests rely on
202 function setupUrl(url = '/path/b?search=a&b=c&d#hash') {
203 $location.url(url);
204 }
205
206 it('should provide common getters', function () {
207 setupUrl();

Callers 1

upgrade.spec.tsFile · 0.85

Calls 1

urlMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…