(frame: GroupingFrame)
| 101 | }; |
| 102 | |
| 103 | const frameLocation = (frame: GroupingFrame): string | undefined => { |
| 104 | if (frame.module) return stripContentHashes(frame.module); |
| 105 | const path = frame.filename ?? frame.abs_path; |
| 106 | return path ? stripContentHashes(basename(path)) : undefined; |
| 107 | }; |
| 108 | |
| 109 | const frameKey = (frame: GroupingFrame): string | undefined => { |
| 110 | const location = frameLocation(frame); |
no test coverage detected