()
| 70 | } |
| 71 | |
| 72 | function createMultiLineSourceMapWithSourcesContent() { |
| 73 | var sourceMap = createEmptySourceMap(); |
| 74 | var original = new Array(1001).join('\n'); |
| 75 | for (var i = 1; i <= 100; i++) { |
| 76 | sourceMap.addMapping({ |
| 77 | generated: { line: i, column: 0 }, |
| 78 | original: { line: 1000 + i, column: 4 }, |
| 79 | source: 'original.js' |
| 80 | }); |
| 81 | original += ' line ' + i + '\n'; |
| 82 | } |
| 83 | sourceMap.setSourceContent('original.js', original); |
| 84 | return sourceMap; |
| 85 | } |
| 86 | |
| 87 | function compareStackTrace(sourceMap, source, expected) { |
| 88 | // Check once with a separate source map |
no test coverage detected