Commit f34e88a1 authored by Rich Trott's avatar Rich Trott
Browse files

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: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent db7df599
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