Skip to content

Commit 5e15ae0

Browse files
TrottMylesBorins
authored andcommitted
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 PR-URL: #37955 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 913ec56 commit 5e15ae0

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)