({
stack,
...errorArgs
}: ThrowAssertionErrorContext)
| 18 | } |
| 19 | |
| 20 | export const throwAssertionError = ({ |
| 21 | stack, |
| 22 | ...errorArgs |
| 23 | }: ThrowAssertionErrorContext): never => { |
| 24 | const e = new assert.AssertionError(errorArgs) |
| 25 | e.stack = stack |
| 26 | throw e |
| 27 | } |
| 28 | |
| 29 | export class MissingSnapshotError extends Error {} |
| 30 |
no outgoing calls
no test coverage detected