(a: string, b: string)
| 45 | // strip them to for the comparison. |
| 46 | const frameDiffs = / \(\<anonymous\>\)$|\@unknown\:0\:0$|\(|\)|\[|\]/gm; |
| 47 | function areStackTracesEqual(a: string, b: string): boolean { |
| 48 | return a.replace(frameDiffs, '') === b.replace(frameDiffs, ''); |
| 49 | } |
| 50 | |
| 51 | const targetConsole: Object = console; |
| 52 |