A small 'live' web site which uses rest-api to represent a pseudo-termial-like interface.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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