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

Commit

Permalink
fix(test): Update Mocha, mock-fs, and fix Node 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanbiala committed Feb 11, 2016
1 parent 8a705a9 commit 62095a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/users/tests/server/user.server.routes.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('User CRUD tests', function () {

// NodeJS v4 changed the status code representation so we must check
// before asserting, to be comptabile with all node versions.
if (process.version.indexOf('v4') === 0) {
if (process.version.indexOf('v4') === 0 || process.version.indexOf('v5') === 0) {
signoutRes.text.should.equal('Found. Redirecting to /');
} else {
signoutRes.text.should.equal('Moved Temporarily. Redirecting to /');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jasmine-core": "~2.3.4",
"lodash": "~3.10.0",
"method-override": "~2.3.3",
"mocha": "~1.20.0",
"mocha": "~2.4.5",
"mongoose": "~4.2.3",
"morgan": "~1.6.1",
"multer": "~1.0.5",
Expand Down Expand Up @@ -115,7 +115,7 @@
"karma-ng-html2js-preprocessor": "~0.1.2",
"karma-phantomjs-launcher": "~0.2.0",
"load-grunt-tasks": "~3.2.0",
"mock-fs": "~3.4.0",
"mock-fs": "~3.7.0",
"run-sequence": "~1.1.1",
"should": "~7.0.1",
"supertest": "~1.0.1",
Expand Down

0 comments on commit 62095a1

Please sign in to comment.