Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(tests): removing unused mock-fs library which caused tests to fail (
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal authored Apr 8, 2017
1 parent 817c4e3 commit e596375
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions modules/core/tests/server/core.server.config.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ var _ = require('lodash'),
User = mongoose.model('User'),
path = require('path'),
fs = require('fs'),
mock = require('mock-fs'),
request = require('supertest'),
config = require(path.resolve('./config/config')),
logger = require(path.resolve('./config/lib/logger')),
Expand Down Expand Up @@ -421,12 +420,10 @@ describe('Configuration Tests:', function () {

beforeEach(function () {
originalLogConfig = _.clone(config.log, true);
mock();
});

afterEach(function () {
config.log = originalLogConfig;
mock.restore();
});

it('should retrieve the log format from the logger configuration', function () {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
"karma-ng-html2js-preprocessor": "~1.0.0",
"karma-phantomjs-launcher": "~1.0.0",
"lcov-result-merger": "~1.2.0",
"mock-fs": "~3.12.0",
"run-sequence": "~1.2.2",
"semver": "~5.3.0",
"should": "~11.1.0",
Expand Down

0 comments on commit e596375

Please sign in to comment.