Making Chai functions global in mocha

Shows how to make the chai “expect”, “spy” etc functions global so you don’t have to keep adding lots of repeating require(…) to every test

Read more No Comments »

Karma is not recognized as an internal or external command

Solution to this error message after globally installing Karma test runner through NPM.

Read more No Comments »

Resolving weird NPM error

Got the error Error: ENOENT, stat ‘C:\Users\\AppData\Roaming\npm when trying to install an NPM package.

Read more No Comments »

Running JavaScript on the server – moving away from duplicate code with NodeJS

Node JS is taking the world of development by storm, going from another trendy new technology to a serious player that is changing the face of development as we know it. In this article I discuss using NodeJS to execute the same logic client and server side.

Read more No Comments »

© 2017 Garry Passarella. All Rights Reserved. Facebook Twitter Twitter