I'm a heavy user of assert() in JS. Bundles to 6kb tho, and messages are verbose so not ideal. But thanks to transforms we can solve this 
-
-
-
You have options though: https://github.com/emilbayes/nanoassert … https://github.com/calvinmetcalf/minimalistic-assert … I only use assert(...), but I've noticed that you use assert.equals
- 1 more reply
New conversation -
-
-
Was surprised to see the asserts in your test snapshot code. Interesting to see explanation.
-
Also it makes sense for having some sanity in module territory. I'm relying on type systems in my framework-land code.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.