artsy / benv

Stub a browser environment in node.js and headlessly test your client-side code.
MIT License
73 stars 19 forks source link

@craigspaeth => Add requireWithPugify #35

Closed kanaabe closed 7 years ago

kanaabe commented 7 years ago

Pretty much just a dupe of requireWithJadeify but with pug.

craigspaeth commented 7 years ago

Thanks for this! FWIW I realized we could probably actually modify require extensions with mocha to obviate the need for these requireWith helpers. Happy to merge this though, just wanted to throw that idea out there.

kanaabe commented 7 years ago

Nice, I didn't realize we could do this!