Skip to content
Snippets Groups Projects
Commit 0f266202 authored by justinw's avatar justinw
Browse files

Skip tests that will only pass on a testnet (for now)

parent 8705228e
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ describe('steem.hf20-accounts:', () => { ...@@ -29,6 +29,7 @@ describe('steem.hf20-accounts:', () => {
} }
steem.api.callAsync('condenser_api.get_version', []).then((result) => { steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version'); result.should.have.property('blockchain_version');
//result.should.have.property('blockchain_version', '0.22.0') //result.should.have.property('blockchain_version', '0.22.0')
...@@ -47,6 +48,7 @@ describe('steem.hf20-accounts:', () => { ...@@ -47,6 +48,7 @@ describe('steem.hf20-accounts:', () => {
this.skip(); // (!) need test account with enough RC this.skip(); // (!) need test account with enough RC
steem.api.callAsync('condenser_api.get_version', []).then((result) => { steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version'); result.should.have.property('blockchain_version');
//result.should.have.property('blockchain_version', '0.22.0') //result.should.have.property('blockchain_version', '0.22.0')
......
...@@ -38,6 +38,7 @@ describe('steem.hf21-accounts:', () => { ...@@ -38,6 +38,7 @@ describe('steem.hf21-accounts:', () => {
} }
steem.api.callAsync('condenser_api.get_version', []).then((result) => { steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version'); result.should.have.property('blockchain_version');
steem.broadcast._prepareTransaction(tx).then(function(tx){ steem.broadcast._prepareTransaction(tx).then(function(tx){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment