karolmajta
Joined 12 years ago
Karma
88
Submissions
9
Member since
May 4
http://github.com/karolmajta
http://blog.karolmajta.com
https://tinyendian.com
View on Hacker NewsJoined 12 years ago
Btw, there's like 30 secs of silence at the start of video, sorry for that.
If this is JSDOM based browser then how is this better then actually using JSDOM with a regular testing framework (or a BDD-like one)?
How is this better than running puppeteer with headless chrome?
> You get to choose what region you want to run your tests from.
How is this better than running headless puppeteer (or JSDOM for that matter) in an AWS lambda in selected region?
Why do this instead of:
myvar = read_json_file_as_object('path/to/file')
??Ok, you can argue that function would hit the hard drive many times when called from multiple modules (while imports would not), but this can be fixed with simple memoization.