A small 'live' web site which uses rest-api to represent a pseudo-termial-like interface.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

15 rindas
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. });