You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with the toHaveLength() assertion that should work with ArrayBuffers.
ERROR TS2339: Property 'length' does not exist on type '~lib/arraybuffer/ArrayBuffer'.
length = actual.length;
~~~~~~
in node_modules/as-pect/assembly/internal/comparison/lengthComparison.ts(34,22)
This is because ArrayBuffer doesn't have a length property any more as that is meant for different views with various element widths. Use byteLength or cast it as a Uint8Array.
There is an issue with the
toHaveLength()
assertion that should work withArrayBuffer
s.Way to reproduce:
The text was updated successfully, but these errors were encountered: