瀏覽代碼

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


Loading…
取消
儲存