mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
94be10ac32
PR-URL: https://github.com/nodejs/node/pull/55740 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
10 lines
283 B
JavaScript
10 lines
283 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const { getCallSite } = require('node:util');
|
|
const { expectWarning } = require('../common');
|
|
|
|
const warning = 'The `util.getCallSite` API has been renamed to `util.getCallSites()`.';
|
|
expectWarning('ExperimentalWarning', warning);
|
|
getCallSite();
|