(offset)
| 1525 | } |
| 1526 | } |
| 1527 | function sourceFromStacktrace(offset) { |
| 1528 | var error = new Error(); |
| 1529 | |
| 1530 | // Support: Safari <=7 only, IE <=10 - 11 only |
| 1531 | // Not all browsers generate the `stack` property for `new Error()`, see also #636 |
| 1532 | if (!error.stack) { |
| 1533 | try { |
| 1534 | throw error; |
| 1535 | } catch (err) { |
| 1536 | error = err; |
| 1537 | } |
| 1538 | } |
| 1539 | return extractStacktrace(error, offset); |
| 1540 | } |
| 1541 | |
| 1542 | var Assert = /*#__PURE__*/function () { |
| 1543 | function Assert(testContext) { |
no test coverage detected