mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
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: https://github.com/nodejs/node/pull/37955 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
913ec56798
commit
5e15ae05d0
|
|
@ -16,6 +16,7 @@ const objects = [
|
|||
{ bar: 'baz' },
|
||||
new Uint8Array([1, 2, 3, 4]),
|
||||
new Uint32Array([1, 2, 3, 4]),
|
||||
new DataView(new ArrayBuffer(42)),
|
||||
Buffer.from([1, 2, 3, 4]),
|
||||
undefined,
|
||||
null,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user