(root: string)
| 150 | // TanStack's kitchen-sink example, whose root takes its context's type. |
| 151 | const ROOT = 'const rootRoute = createRootRoute({ component: RootComponent })\n'; |
| 152 | const withRoot = (root: string): string => { |
| 153 | expect(src).toContain(ROOT); |
| 154 | return src.replace(ROOT, root); |
| 155 | }; |
| 156 | const expected = parseTanstackRoutes(src).map((r) => [r.path, r.component, r.index]); |
| 157 | |
| 158 | it.each([ |
no outgoing calls
no test coverage detected