nodejs/test/parallel/test-warn-stream-wrap.js

11 lines
229 B
JavaScript
Raw Normal View History

2022-08-16 11:12:47 +08:00
'use strict';
const common = require('../common');
// _stream_wrap is deprecated.
common.expectWarning('DeprecationWarning',
'The _stream_wrap module is deprecated.', 'DEP0125');
require('_stream_wrap');