(path)
| 124 | const map = JSON.parse(fs.readFileSync(join('tmp', 'index.js.map'), 'utf8')); |
| 125 | const paths = map.sources.map(source=>pathResolve(join('tmp', source))); |
| 126 | function hasPath(path) { |
| 127 | return paths.includes(pathResolve(path)); |
| 128 | } |
| 129 | return code === 0 && hasPath('test/fixtures/sourcemap-resource-path/index.ts') && hasPath('test/fixtures/sourcemap-resource-path/sum.ts'); |
| 130 | } |
| 131 | }, |
no outgoing calls
no test coverage detected
searching dependent graphs…