MCPcopy Create free account
hub / github.com/angular/components / filename

Method filename

docs/scenes/e2e/screenshot.ts:17–24  ·  view source on GitHub ↗

The filename used to store the screenshot.

()

Source from the content-addressed store, hash-verified

15export class Screenshot {
16 /** The filename used to store the screenshot. */
17 get filename(): string {
18 return (
19 this.id
20 .toLowerCase()
21 .replace(/\s/g, '_')
22 .replace(/[^/a-z0-9_-]+/g, '') + '.scene.png'
23 );
24 }
25
26 /** The full path to the screenshot */
27 get fullPath(): string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected