Commit 69df9f27 authored by Fabien's avatar Fabien Committed by GitHub

Merge pull request #129 from steemit/improve-test-comment-options

Improve comment with options test
parents d5e70f58 1edbc991
{
"name": "steem",
"version": "0.5.4",
"version": "0.5.5",
"description": "Steem.js the JavaScript API for Steem blockchain",
"main": "index.js",
"scripts": {
......
......@@ -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', {
......
Markdown is supported
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