aboutsummaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
index a9ea434a23..9a3edd067a 100644
--- a/test/README.md
+++ b/test/README.md
@@ -220,6 +220,12 @@ The expected error should be [subclassed by the `internal/errors` module](https:
Tests whether `name` and `expected` are part of a raised warning.
+## getArrayBufferViews(buf)
+* `buf` [<Buffer>](https://nodejs.org/api/buffer.html#buffer_class_buffer)
+* return [<ArrayBufferView[]>](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView)
+
+Returns an instance of all possible `ArrayBufferView`s of the provided Buffer.
+
### hasCrypto
* return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type)