Closed ehmicky closed 1 year ago
This adds tests for the slow path of getStreamAsArrayBuffer(), i.e. the logic used in environments where ArrayBuffer.resize() is not available.
getStreamAsArrayBuffer()
ArrayBuffer.resize()
I just realized: this is not needed, since Node 16/18 do not have ArrayBuffer.resize(), and we test on those Node versions. :man_facepalming:
This adds tests for the slow path of
getStreamAsArrayBuffer()
, i.e. the logic used in environments whereArrayBuffer.resize()
is not available.