fix(integration tests): fixed integration tests

This commit is contained in:
Chris Troutner
2019-09-29 06:45:09 -07:00
parent 1d70b3adcd
commit 161b9419b2
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -6,6 +6,7 @@ test-local-server
start-decatur-main
start-decatur-test
start-bitcoincom.sh
test-remote-server.sh
coverage
start-my-infra
+3 -3
View File
@@ -496,7 +496,7 @@ describe("#SLP", () => {
.reply(200, mockData.mockSingleAddress)
}
req.params.address = "slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7"
req.params.address = "slptest:qz80hhc6eucgauzmcfjzglccspdqfpl0fqx7x3lshs"
const result = await balancesForAddress(req, res)
// console.log(`result: ${util.inspect(result)}`)
@@ -578,11 +578,11 @@ describe("#SLP", () => {
if (process.env.TEST !== "unit") {
it("should get token balance for an address", async () => {
req.body.addresses = [
"slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7"
"slptest:qz80hhc6eucgauzmcfjzglccspdqfpl0fqx7x3lshs"
]
const result = await balancesForAddressBulk(req, res)
console.log(`result: ${JSON.stringify(result, null, 2)}`)
// console.log(`result: ${JSON.stringify(result, null, 2)}`)
assert.isArray(result)
assert.isArray(result[0])