mirror of https://github.com/nodejs/node.git
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();
|