test: fix typeof comparison
The typeof operator returns a string. Compare to the string 'undefined' and not the value undefined. PR-URL: https://github.com/nodejs/node/pull/37924 Reviewed-By:Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
db7df599
Please register or sign in to comment