mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Ensured integration tests pass for abc and bchn
This commit is contained in:
@@ -1863,6 +1863,7 @@ describe('#SLP', () => {
|
||||
})
|
||||
}
|
||||
|
||||
if (process.env.ISBCHN) {
|
||||
it('should get NFT children IDs in given NFT group', async () => {
|
||||
if (process.env.TEST === 'unit') {
|
||||
sandbox.stub(slpRoute, 'lookupToken').resolves(mockData.mockNftGroup)
|
||||
@@ -1898,6 +1899,7 @@ describe('#SLP', () => {
|
||||
'928ce61fe1006b1325a0ba0dce700bf83986a6f0691ba26e121c9ac035d12a55'
|
||||
)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
describe('#getNftGroup', () => {
|
||||
@@ -2003,6 +2005,7 @@ describe('#SLP', () => {
|
||||
})
|
||||
}
|
||||
|
||||
if (process.env.ISBCHN) {
|
||||
it('should get NFT group information for tokenId', async () => {
|
||||
req.params.tokenId =
|
||||
'45a30085691d6ea586e3ec2aa9122e9b0e0d6c3c1fd357decccc15d8efde48a9'
|
||||
@@ -2026,6 +2029,7 @@ describe('#SLP', () => {
|
||||
assert.property(result.nftGroup, 'symbol')
|
||||
assert.property(result.nftGroup, 'initialTokenQty')
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user