// NOTE: Idea for this file comes from https://blog.risingstack.com/node-hero-node-js-unit-testing-tutorial/ const sinon = require('sinon'); const chai = require('chai'); beforeEach(function(){ this.sandbox = sinon.createSandbox(); }) afterEach(function(){ this.sandbox.restore(); });