UNPKG
node-express-metrics
Version:
latest (1.0.0)
1.0.0
Express middleware to log the metrics traces
github.com/telefonica/node-express-metrics
node-express-metrics
/
test
/
environment.js
16 lines
(11 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var
sinon =
require
(
'sinon'
), chai =
require
(
'chai'
), sinonChai =
require
(
'sinon-chai'
); chai.
use
(sinonChai);
global
.
expect
= chai.
expect
;
beforeEach
(
function
(
){
global
.
sinon
= sinon.
sandbox
.
create
(); });
afterEach
(
function
(
){
global
.
sinon
.
restore
(); });