(actual: UrlSegmentGroup, expected: UrlSegmentGroup, error: string)
| 1927 | } |
| 1928 | |
| 1929 | function compareSegments(actual: UrlSegmentGroup, expected: UrlSegmentGroup, error: string): void { |
| 1930 | expect(actual).toBeDefined(error); |
| 1931 | expect(equalSegments(actual.segments, expected.segments)).toEqual(true, error); |
| 1932 | |
| 1933 | expect(Object.keys(actual.children).length).toEqual(Object.keys(expected.children).length, error); |
| 1934 | |
| 1935 | Object.keys(expected.children).forEach((key) => { |
| 1936 | compareSegments(actual.children[key], expected.children[key], error); |
| 1937 | }); |
| 1938 | } |
| 1939 | |
| 1940 | class ComponentA {} |
| 1941 | class ComponentB {} |
no test coverage detected
searching dependent graphs…