(overrides?: Partial<RepositoryInfo>)
| 23 | |
| 24 | // Helper to create mock repository info |
| 25 | function createRepoInfo(overrides?: Partial<RepositoryInfo>): RepositoryInfo { |
| 26 | return { |
| 27 | provider: 'github', |
| 28 | owner: 'test-owner', |
| 29 | repo: 'test-repo', |
| 30 | rawBaseUrl: 'https://raw.githubusercontent.com/test-owner/test-repo/HEAD', |
| 31 | blobBaseUrl: 'https://github.com/test-owner/test-repo/blob/HEAD', |
| 32 | ...overrides, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | describe('Playground Link Extraction', () => { |
| 37 | describe('StackBlitz', () => { |