A small 'live' web site which uses rest-api to represent a pseudo-termial-like interface.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
317B

  1. // NOTE: Idea for this file comes from https://blog.risingstack.com/node-hero-node-js-unit-testing-tutorial/
  2. const sinon = require('sinon');
  3. const chai = require('chai');
  4. beforeEach(function(){
  5. console.log("PING");
  6. this.sandbox = sinon.sandbox.create();
  7. })
  8. afterEach(function(){
  9. this.sandbox.restore();
  10. });