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

Function splitSortJoin

packages/core/test/acceptance/styling_spec.ts:3358–3360  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

3356 expect(splitSortJoin(div.className)).toEqual('4 5 6 7 abc');
3357
3358 function splitSortJoin(s: string) {
3359 return s.split(/\s+/).sort().join(' ').trim();
3360 }
3361 });
3362
3363 describe('ExpressionChangedAfterItHasBeenCheckedError', () => {

Callers 1

styling_spec.tsFile · 0.85

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected