(filename)
| 17 | } |
| 18 | |
| 19 | const getPackageName = (filename) => { |
| 20 | const match = /.+[\\/]node_modules[\\/]((?:@[^\\/]+[\\/])?[^\\/]+)/.exec( |
| 21 | cleanFilename(filename) |
| 22 | ) |
| 23 | return match && match[1] |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Create, reports spans recursively with its inner child spans. |
no test coverage detected