diff --git a/test/addons-napi/test_dataview/test.js b/test/addons-napi/test_dataview/test.js index 87cf8159ab8635..711ab01ddb3cb6 100644 --- a/test/addons-napi/test_dataview/test.js +++ b/test/addons-napi/test_dataview/test.js @@ -11,4 +11,4 @@ const template = Reflect.construct(DataView, [buffer]); const theDataview = test_dataview.CreateDataView(template); assert.ok(theDataview instanceof DataView, - 'The new variable should be of type Dataview'); + `Expect ${theDataview} to be a DataView`);