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

Function splitSortJoin

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

Source from the content-addressed store, hash-verified

3319 expect(splitSortJoin(div.className)).toEqual('4 5 6 7 abc');
3320
3321 function splitSortJoin(s: string) {
3322 return s.split(/\s+/).sort().join(' ').trim();
3323 }
3324 });
3325
3326 describe('ExpressionChangedAfterItHasBeenCheckedError', () => {

Callers 1

styling_spec.tsFile · 0.85

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected