(url: string)
| 1033 | |
| 1034 | describe('with segments after', () => { |
| 1035 | const recognizer = (url: string) => { |
| 1036 | const config = [ |
| 1037 | { |
| 1038 | path: 'foo/**/bar', |
| 1039 | component: ComponentA, |
| 1040 | }, |
| 1041 | ]; |
| 1042 | return recognize(config, url); |
| 1043 | }; |
| 1044 | |
| 1045 | it('matches a url with one segment for the wildcard', async () => { |
| 1046 | const s = await recognizer('foo/a/bar'); |
no test coverage detected