nodejs/test/parallel/test-js-stream-call-propert...

12 lines
295 B
JavaScript

// Flags: --expose-internals
'use strict';
require('../common');
const util = require('util');
const { internalBinding } = require('internal/test/binding');
const { JSStream } = internalBinding('js_stream');
// Testing if will abort when properties are printed.
util.inspect(new JSStream());