Commit 5cee7cbe authored by Antoine du Hamel's avatar Antoine du Hamel
Browse files

test: fix `common.mustCall` `length` and `name` properties

Reassign `name` and `length` properties to the returned function to not
break code that relies on it.

PR-URL: https://github.com/nodejs/node/pull/38464


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 99099f91
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment