Browse Source

clean auth tests

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
72115df0a4
2 changed files with 1 additions and 4 deletions
  1. +0
    -1
      src/services/auth.js
  2. +1
    -3
      tests/services/auth.tests.js

+ 0
- 1
src/services/auth.js View File

@@ -1,4 +1,3 @@
var Promise = require('es6-promise').Promise;
import request from 'axios';

export default {


+ 1
- 3
tests/services/auth.tests.js View File

@@ -24,9 +24,7 @@ suite('Auth', () => {
auth.login(credentials)
.then(() => {
done();
}).catch((err) => {
console.log(err)
})
});
});

test('should throw error if bad request', (done) => {


Loading…
Cancel
Save