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.

14 satır
293B

  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. this.sandbox = sinon.createSandbox();
  6. })
  7. afterEach(function(){
  8. this.sandbox.restore();
  9. });