a few more updates to tests
This commit is contained in:
parent
d05a1f8053
commit
99d35f7786
2 changed files with 41 additions and 40 deletions
|
@ -11,7 +11,8 @@ const deprecate = function (oldName, newName, fn) {
|
|||
}
|
||||
|
||||
// The method is renamed.
|
||||
deprecate.rename = function (object, oldName, newName) {
|
||||
deprecate.rename = (object, oldName, newName) => {
|
||||
console.log('we are here')
|
||||
let warned = false
|
||||
const newMethod = function () {
|
||||
if (!(warned || process.noDeprecation)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue