Some good techniques of mocking and testing Queue Jobs Kue
The full tutorial and explanation can be found here: https://medium.com/p/3e293c9eb519
Clone this repo:
git clone https://github.com/tmedetbekov/mock-kue
Enter the package directory and install npm dependencies:
cd mock-kue && npm install
And just run specs:
mocha lib/queue.spec.js