()
| 38 | } |
| 39 | |
| 40 | async function testBytesAsyncLimit() { |
| 41 | await assert.rejects( |
| 42 | () => bytes(from('hello world'), { limit: 3 }), |
| 43 | { name: 'RangeError' }, |
| 44 | ); |
| 45 | } |
| 46 | |
| 47 | async function testBytesAsyncAbort() { |
| 48 | await assert.rejects( |
no test coverage detected