fix(free tier): Adding integration tests for free tier

This commit is contained in:
Chris Troutner
2020-07-13 15:43:08 -07:00
parent e8e9e03cdc
commit 0c2667eb2c
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@
"test:integration:local": "RESTURL=http://localhost:3000/v3/ mocha --timeout 30000 test/integration",
"test:integration:testnet:local": "RESTURL=http://localhost:4000/v3/ mocha --timeout 30000 test/integration/testnet",
"test:integration:free": "bash test/integration/test-free-tier.sh",
"test:integration:free:testnet": "bash test/integration/testnet/test-free-tier.sh",
"test:temp": "nyc mocha --timeout 30000 test/unit/ipfs.js",
"test:integration:api": "RESTURL=https://api.fullstack.cash/v3/ mocha --timeout 30000 test/integration",
"coverage": "nyc report --reporter=text-lcov | coveralls",
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
export RESTURL=https://free-api.fullstack.cash/v3/
export RESTURL=https://free-main.fullstack.cash/v3/
#export RESTURL=http://localhost:3000/v3/
cd test/integration/
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
export RESTURL=https://free-test.fullstack.cash/v3/
export NETWORK=testnet
#export RESTURL=http://localhost:3000/v3/
cd test/integration/testnet/
mocha --timeout 30000 blockchain.js control.js electrumx.js openbazaar.js rawtransaction.js slp.js util.js