MCPcopy Create free account
hub / github.com/angular/angular / stripWhitespace

Function stripWhitespace

packages/core/schematics/test/standalone_routes_spec.ts:31–33  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

29 }
30
31 function stripWhitespace(content: string) {
32 return content.replace(/\s+/g, '');
33 }
34 const collectionJsonPath = resolve('../collection.json');
35 beforeEach(() => {
36 runner = new SchematicTestRunner('test', collectionJsonPath);

Callers 1

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected