OSDN Git Service
(root)
/
bytom
/
bytom-node-sdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc887b0
)
update test case
author
Zhiting Lin
<zlin035@uottawa.ca>
Mon, 26 Nov 2018 09:22:40 +0000
(17:22 +0800)
committer
Zhiting Lin
<zlin035@uottawa.ca>
Mon, 26 Nov 2018 09:22:40 +0000
(17:22 +0800)
test/accessToken.js
patch
|
blob
|
history
diff --git
a/test/accessToken.js
b/test/accessToken.js
index
f25c13e
..
927dd18
100644
(file)
--- a/
test/accessToken.js
+++ b/
test/accessToken.js
@@
-39,7
+39,7
@@
describe('Access token', () => {
return createToken()
.then((token) => {
tokenId = token.id
- return client.accessTokens.list()
+ return client.accessTokens.list
All
()
})
.then(resp => expect(resp.map(item => item.id)).to.contain(tokenId))
})
@@
-63,7
+63,7
@@
describe('Access token', () => {
tokenId = token.id
return client.accessTokens.delete(tokenId)
})
- .then(() => client.accessTokens.list())
+ .then(() => client.accessTokens.list
All
())
.then(resp => expect(resp.map(item => item.id)).to.not.contain(tokenId))
})