Skip to content

Commit

Permalink
Merge pull request #47 from christroutner/free
Browse files Browse the repository at this point in the history
fix(free tier): Adding integration tests for free tier
  • Loading branch information
christroutner authored Jun 27, 2020
2 parents 79206e0 + 06b74db commit 07ed1d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"test:integration:testnet": "mocha --timeout 30000 test/integration/testnet/",
"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: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",
Expand Down
7 changes: 7 additions & 0 deletions test/integration/test-free-tier.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

export RESTURL=https://free-api.fullstack.cash/v3/
#export RESTURL=http://localhost:3000/v3/

cd test/integration/
mocha --timeout 30000 blockchain.js control.js electrumx.js ninsight.js openbazaar.js price.js rawtransaction.js slp.js util.js

0 comments on commit 07ed1d5

Please sign in to comment.