(input: string)
| 373 | |
| 374 | test('source and sourcemap contain matching debug IDs', () => { |
| 375 | function getDebugIdFromString(input: string): string | undefined { |
| 376 | const match = input.match(/\/\/# debugId=([a-fA-F0-9-]+)/) |
| 377 | return match ? match[1] : undefined |
| 378 | } |
| 379 | |
| 380 | const assets = listAssets().map((asset) => `dist/assets/${asset}`) |
| 381 | const jsAssets = assets.filter((asset) => asset.endsWith('.js')) |