This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
lesspass
mirror of
https://github.com/lesspass/lesspass.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
67
Wiki
Activity
Browse Source
clean auth tests
pull/342/head
Guillaume Vincent
8 years ago
parent
43d02072b1
commit
72115df0a4
2 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
src/services/auth.js
+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) => {
Write
Preview
Loading…
Cancel
Save