From 5e15ae05d070ea69699c1ef643e07464e80cf08a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 27 Mar 2021 22:36:01 -0700 Subject: [PATCH] test: add DataView test case for v8 serdes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- test/parallel/test-v8-serdes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-v8-serdes.js b/test/parallel/test-v8-serdes.js index 7485aa19a7d3d9..9b153739c57270 100644 --- a/test/parallel/test-v8-serdes.js +++ b/test/parallel/test-v8-serdes.js @@ -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,