a few more updates to tests

This commit is contained in:
Shelley Vohr 2017-11-14 13:33:38 -05:00
parent d05a1f8053
commit 99d35f7786
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 41 additions and 40 deletions

View file

@ -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)) {