Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
remove additional es6 arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
typerandom committed Jan 16, 2017
1 parent 3199273 commit 6f06e6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/controllers/test-email-verification.js
Expand Up @@ -92,7 +92,7 @@ describe('email verification', function () {
.get(config.web.verifyEmail.uri)
.set('Accept', 'text/html')
.expect(200)
.end((err, res) => {
.end(function (err, res) {
if (err) {
return done(err);
}
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/test-forgot-password.js
Expand Up @@ -105,7 +105,7 @@ describe('forgotPassword', function () {
.get(config.web.forgotPassword.uri)
.set('Accept', 'text/html')
.expect(200)
.end((err, res) => {
.end(function (err, res) {
if (err) {
return done(err);
}
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/test-login.js
Expand Up @@ -75,7 +75,7 @@ describe('login', function () {
.get(config.web.login.uri)
.set('Accept', 'text/html')
.expect(200)
.end((err, res) => {
.end(function (err, res) {
if (err) {
return done(err);
}
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/test-register.js
Expand Up @@ -430,7 +430,7 @@ describe('register', function () {
.get(config.web.register.uri)
.set('Accept', 'text/html')
.expect(200)
.end((err, res) => {
.end(function (err, res) {
if (err) {
return done(err);
}
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/test-reset-password.js
Expand Up @@ -80,7 +80,7 @@ describe('resetPassword', function () {
requestResetPage(defaultExpressApp, 'abc')
.set('Accept', 'text/html')
.expect(200)
.end((err, res) => {
.end(function (err, res) {
if (err) {
return done(err);
}
Expand Down

0 comments on commit 6f06e6b

Please sign in to comment.