MCPcopy
hub / github.com/angular/angular / envIsSupported

Function envIsSupported

packages/service-worker/worker/testing/utils.ts:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 * @return Whether ServiceWorker tests can be run in the current environment.
15 */
16export function envIsSupported(): boolean {
17 return typeof URL === 'function';
18}
19
20/**
21 * Get a normalized representation of a URL relative to a provided base URL.

Callers 5

prefetch_spec.tsFile · 0.90
idle_spec.tsFile · 0.90
happy_spec.tsFile · 0.90
data_spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…