Skip to content

Commit 0980836

Browse files
committed
test: add DataView test case for v8 serdes
This completes code coverage for v8.js. Refs: https://coverage.nodejs.org/coverage-290c158018ac0277/lib/v8.js.html#L240
1 parent b560645 commit 0980836

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-v8-serdes.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const objects = [
1616
{ bar: 'baz' },
1717
new Uint8Array([1, 2, 3, 4]),
1818
new Uint32Array([1, 2, 3, 4]),
19+
new DataView(new ArrayBuffer(42)),
1920
Buffer.from([1, 2, 3, 4]),
2021
undefined,
2122
null,

0 commit comments

Comments
 (0)