(filePath: string, name: string, id = `route:${filePath}:1:${name}`)
| 617 | |
| 618 | describe('changedRoutes', () => { |
| 619 | const route = (filePath: string, name: string, id = `route:${filePath}:1:${name}`): Node => ({ |
| 620 | id, kind: 'route', name, qualifiedName: `${filePath}::route:${name}`, filePath, language: 'jsx', |
| 621 | startLine: 1, endLine: 1, startColumn: 0, endColumn: 0, updatedAt: 0, |
| 622 | }); |
| 623 | |
| 624 | it('is the routes on one side only, by file and path', () => { |
| 625 | const kept = route('src/App.jsx', '/'); |
no outgoing calls
no test coverage detected