From 72115df0a40aa2069a8e4b2a35c5e0a441415542 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 30 Mar 2016 11:08:37 +0200 Subject: [PATCH] clean auth tests --- src/services/auth.js | 1 - tests/services/auth.tests.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/auth.js b/src/services/auth.js index 77e87be..6718ccb 100644 --- a/src/services/auth.js +++ b/src/services/auth.js @@ -1,4 +1,3 @@ -var Promise = require('es6-promise').Promise; import request from 'axios'; export default { diff --git a/tests/services/auth.tests.js b/tests/services/auth.tests.js index fdfe418..a92563c 100644 --- a/tests/services/auth.tests.js +++ b/tests/services/auth.tests.js @@ -24,9 +24,7 @@ suite('Auth', () => { auth.login(credentials) .then(() => { done(); - }).catch((err) => { - console.log(err) - }) + }); }); test('should throw error if bad request', (done) => {