(appRef: ApplicationRef)
| 53 | export const DEFAULT_DOCUMENT = `<html><head></head><body>${EVENT_DISPATCH_SCRIPT}<app></app></body></html>`; |
| 54 | |
| 55 | export function getComponentRef<T>(appRef: ApplicationRef): ComponentRef<T> { |
| 56 | return appRef.components[0]; |
| 57 | } |
| 58 | |
| 59 | export function stripSsrIntegrityMarker(input: string): string { |
| 60 | return input.replace(`<!--${SSR_CONTENT_INTEGRITY_MARKER}-->`, ''); |
no outgoing calls
no test coverage detected
searching dependent graphs…