()
| 26 | } |
| 27 | |
| 28 | async function testBytesSyncLimit() { |
| 29 | assert.throws( |
| 30 | () => bytesSync(fromSync('hello world'), { limit: 3 }), |
| 31 | { name: 'RangeError' }, |
| 32 | ); |
| 33 | } |
| 34 | |
| 35 | async function testBytesAsync() { |
| 36 | const data = await bytes(from('hello-async')); |
no test coverage detected