Skip to content
Snippets Groups Projects
Commit b9fbc8a2 authored by Sebastian's avatar Sebastian
Browse files

Merge branch 'faraday-master' of gitlab.coko.foundation:xpub/xpub into faraday-master

parents 6ad53f41 b826e90c
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,6 @@
"files": [
"src"
],
"scripts": {
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/xpub/xpub"
......
......@@ -6,9 +6,6 @@
"files": [
"src"
],
"scripts": {
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/xpub/xpub"
......
......@@ -6,9 +6,6 @@
"files": [
"src"
],
"scripts": {
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/xpub/xpub"
......
/* eslint-disable func-names-any */
function User(properties) {
this.type = 'user'
this.email = properties.email
......@@ -5,7 +7,7 @@ function User(properties) {
this.password = properties.password
}
User.prototype.save = jest.fn(() => {
User.prototype.save = jest.fn(function saveUser() {
this.id = '111222'
return Promise.resolve(this)
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment