浏览代码

Added empty stub to keep directory

master
Bryan Miller 5 年前
父节点
当前提交
adcafab80e
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. +13
    -0
      test/test-setup.spec.js

+ 13
- 0
test/test-setup.spec.js 查看文件

@@ -0,0 +1,13 @@

// 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();
});


正在加载...
取消
保存