fast-check icon indicating copy to clipboard operation
fast-check copied to clipboard

`document.all` is falsy too

Open dubzzz opened this issue 3 years ago • 1 comments

🐛 Bug Report

document.all is falsy too https://twitter.com/mathias/status/385677152261513216

Do we want to handle it in fc.falsy()? 🤔

To Reproduce

--

Expected behavior

--

Your environment

--

dubzzz avatar Jul 10 '20 08:07 dubzzz

I did not know this which makes me think it should be. 😅

dgerrells avatar Jul 13 '20 17:07 dgerrells

Well, finally I'll not add it. In usual test runners such as Jest we can have document but document.all is just undefined (not another falsy value).

dubzzz avatar Dec 18 '22 21:12 dubzzz