News for hackers. Stuff that matters.
Re:Pika: Making it easier to find, publish, install, and use... by jwdunne on Sunday March 03, 2019 @10:52AM (#19295005)
Jest, FB's JS testing framework, is described as blazing fast but is actually twice as slow as Jasmine (or was at some point). If twice as slow is blazing fast, I don't know what twice as fast is. I do know 'blazing fast' is meaningless. It's just deceptive.

For reference: https://github.com/facebook/jest/issues/6694

Re:Pika: Making it easier to find, publish, install, and use... by GijsjanB on Sunday March 03, 2019 @11:42AM (#19295293)
OT, but I was using Jest and switched back to Mocha. Since my tests are nothing special and 100% browser env they load instant. Should have done sooner
Re:Pika: Making it easier to find, publish, install, and use... by jwdunne on Sunday March 03, 2019 @01:56PM (#19296092)
I made liberal use of jest's expectation framework and module mocking. Migrating is 'doable' but at this stage in the project I can't justify the delay on the deadline.

I've got about 200 integration tests too with a package that builds itself into an OS dependent state so I'm stuck running things in a VM. Probably easier to mark up the tests so I can run unit tests most of the time. That should make things bearable.