thlorenz/browserify-ftw — pull request #6 by malandrew (2014-03-26 04:35:15+00:00)
Title: DRY tests, plus test for var decl w/o assignment

Added `var foo;` to `define-simplified-wrapper`. Declaring a variable without assigning it is a trick used to speed up determining whether or not a variable is undefined without having to let the JS engine probe all the way to the global scope. It's an optimization that only makes sense in loops with many iterations. `browserify-ftw` was failing on this.

While I was at it, I refactored some of the tests to DRY them up.