Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
hive
hive-js
Commits
69df9f27
Commit
69df9f27
authored
Apr 25, 2017
by
Fabien
Committed by
GitHub
Apr 25, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #129 from steemit/improve-test-comment-options
Improve comment with options test
parents
d5e70f58
1edbc991
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
package.json
package.json
+1
-1
test/comment.test.js
test/comment.test.js
+6
-2
No files found.
package.json
View file @
69df9f27
{
"name"
:
"steem"
,
"version"
:
"0.5.
4
"
,
"version"
:
"0.5.
5
"
,
"description"
:
"Steem.js the JavaScript API for Steem blockchain"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
test/comment.test.js
View file @
69df9f27
...
...
@@ -2,6 +2,7 @@ import Promise from 'bluebird';
import
should
from
'
should
'
;
import
steemAuth
from
'
../src/auth
'
;
import
steemBroadcast
from
'
../src/broadcast
'
;
import
pkg
from
'
../package.json
'
;
const
username
=
process
.
env
.
STEEM_USERNAME
||
'
guest123
'
;
const
password
=
process
.
env
.
STEEM_PASSWORD
;
...
...
@@ -26,8 +27,11 @@ describe('steem.broadcast:', () => {
author
:
username
,
permlink
,
title
:
'
Test
'
,
body
:
'
Hello!
'
,
json_metadata
:
"
{
\"
tags
\"
:[
\"
steem
\"
],
\"
app
\"
:
\"
steemjs
\
/0.5.3
\"
,
\"
format
\"
:
\"
markdown
\"
}
"
body
:
`This is a test using Steem.js v
${
pkg
.
version
}
.`
,
json_metadata
:
JSON
.
stringify
({
tags
:
[
'
test
'
],
app
:
`steemjs/
${
pkg
.
version
}
`
})
}
],
[
'
comment_options
'
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment