mirror of
https://github.com/Permissionless-Software-Foundation/bch-js.git
synced 2026-09-21 16:51:59 -07:00
Cleaning up screen spam
This commit is contained in:
@@ -520,7 +520,7 @@ class PsfSlpIndexer {
|
|||||||
|
|
||||||
throw new Error('Input tokenId must be a string.')
|
throw new Error('Input tokenId must be a string.')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('error: ', error)
|
// console.log('error: ', error)
|
||||||
if (error.response && error.response.data) throw error.response.data
|
if (error.response && error.response.data) throw error.response.data
|
||||||
else throw error
|
else throw error
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ describe('#psf-slp-indexer', () => {
|
|||||||
|
|
||||||
// bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/'
|
// bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/'
|
||||||
const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId)
|
const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId)
|
||||||
console.log('result: ', result)
|
// console.log('result: ', result)
|
||||||
|
|
||||||
assert.property(result, 'tokenStats')
|
assert.property(result, 'tokenStats')
|
||||||
assert.property(result, 'mutableData')
|
assert.property(result, 'mutableData')
|
||||||
|
|||||||
Reference in New Issue
Block a user