Level / abstract-leveldown

An abstract prototype matching the leveldown API.
MIT License
146 stars 53 forks source link

Remove isTypedArray from tests #298

Closed vweevers closed 3 years ago

vweevers commented 6 years ago

Continuing from https://github.com/Level/abstract-leveldown/issues/121#issuecomment-343722989, in our tests we have various instances of:

https://github.com/Level/abstract-leveldown/blob/f9143c8bf5e9a4f42b0028ed612d8ede0d1fe513/test/get-test.js#L67-L69

Investigate if we still need this, because all implementations are now able to use Buffer, including in browsers.

vweevers commented 3 years ago

No harm in keeping it. Would need to restore it when adding typed array support in the future.