()
| 56 | } |
| 57 | |
| 58 | async function getTestMapping() { |
| 59 | let smc = await new sourceMap.SourceMapConsumer(testSourceMap); |
| 60 | |
| 61 | let mappings = []; |
| 62 | smc.eachMapping([].push, mappings, sourceMap.SourceMapConsumer.ORIGINAL_ORDER); |
| 63 | |
| 64 | let testMapping = mappings[Math.floor(mappings.length / 13)]; |
| 65 | smc.destroy(); |
| 66 | return testMapping; |
| 67 | } |
| 68 | |
| 69 | var benchmarks = { |
| 70 | "SourceMapGenerator#toString": () => { |
no test coverage detected
searching dependent graphs…