Adding Jest to an ES5 project (‘Unexpected token’ errors on JSX)

So far I’ve been using Jest with ES6 (see here), but to run Jest tests against React code using ES5, you might get errors when running your test and rendering the JSX. Per the Jest docs, install the required Jest dependencies: npm install –save-dev jest babel-jest babel-preset-es2015 babel-preset-react react-test-renderer If you run ‘npm test’ at …

How true is Microsoft’s new found love for Linux?

I can’t help react to Microsoft’s new found love for Linux and Open Source with extreme suspicion. If you’ve been in the IT industry for a while then you’ll remember Steve Ballmer’s extreme vitriol for Linux, proclaiming “Linux is a cancer that attaches itself in an intellectual property sense to everything it touches“. So where exactly …