You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported in jsdom/jsdom#1003, if you do fs.readFile("<div>\0</div>", "utf-8", function (err) { }) then err will only be detectable via err.toString() == 'Error: Path must be a string without null bytes.'. Having a .code would be better.
As reported in jsdom/jsdom#1003, if you do
fs.readFile("<div>\0</div>", "utf-8", function (err) { })thenerrwill only be detectable viaerr.toString() == 'Error: Path must be a string without null bytes.'. Having a.codewould be better.