JS testing in 2018, write in ES6, test in ES6

Valkyrie Studios
Jul 29, 2018 · 4 min read

1. Which testrunner ? And why ?

2. Testing Framework of Choice

Jasmine vs Mocha


expect(calculator.add(1, 4)).toEqual(5);

What about Sinon and Chai?

3. From PhantomJS to Puppeteer/ChromeHeadless





Valkyrie Studios

Written by

A web/digital agency focussing on delivering friendly and user-centered experiences that are hyper scalable. — www.valkyriestudios.be

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade