()
| 46 | it('never throws on a value with a hostile toString', () => { |
| 47 | const hostile = { |
| 48 | toString() { |
| 49 | throw new Error('no stringification for you'); |
| 50 | }, |
| 51 | }; |
| 52 | expect(describeFatal(hostile)).toBe('<unstringifiable value>'); |
| 53 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected