26 lines
474 B
JavaScript
26 lines
474 B
JavaScript
// jshint maxstatements: false
|
|
// jscs:disable disallowMultipleVarDecl, maximumLineLength
|
|
'use strict';
|
|
|
|
var assert = require('proclaim');
|
|
var mockery = require('mockery');
|
|
var sinon = require('sinon');
|
|
|
|
sinon.assert.expose(assert, {
|
|
includeFail: false,
|
|
prefix: ''
|
|
});
|
|
|
|
beforeEach(function () {
|
|
mockery.enable({
|
|
useCleanCache: true,
|
|
warnOnUnregistered: false,
|
|
warnOnReplace: false
|
|
});
|
|
});
|
|
|
|
afterEach(function () {
|
|
mockery.deregisterAll();
|
|
mockery.disable();
|
|
});
|