Skip to content

Commit 62e56c8

Browse files
Merge pull request Permissionless-Software-Foundation#251 from Permissionless-Software-Foundation/ct-unstable
fix(tests): Removing integration tests that trips rate limit
2 parents 2137a75 + d5b7e4a commit 62e56c8

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

test/integration/chains/bchn/psf-slp-indexer.integration.js

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -156,26 +156,28 @@ describe('#psf-slp-indexer', () => {
156156
})
157157
})
158158

159-
describe('#getTokenData2', () => {
160-
it('should get token data', async () => {
161-
const tokenId =
162-
'd9aafa7acb514c597caf440ae268b5e4e955f2687e05f044cdf8fd9550d9a27b'
163-
164-
// bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/'
165-
const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId)
166-
// console.log('result: ', result)
167-
168-
assert.property(result, 'tokenStats')
169-
assert.property(result, 'mutableData')
170-
assert.property(result, 'immutableData')
171-
assert.property(result, 'tokenIcon')
172-
assert.property(result, 'fullSizedUrl')
173-
assert.property(result, 'optimizedTokenIcon')
174-
assert.property(result, 'optimizedFullSizedUrl')
175-
assert.property(result, 'iconRepoCompatible')
176-
assert.property(result, 'ps002Compatible')
177-
})
178-
})
159+
// This test is commented out because it can not succeed in the BVT without
160+
// tripping rate limits.
161+
// describe('#getTokenData2', () => {
162+
// it('should get token data', async () => {
163+
// const tokenId =
164+
// 'd9aafa7acb514c597caf440ae268b5e4e955f2687e05f044cdf8fd9550d9a27b'
165+
//
166+
// // bchjs.PsfSlpIndexer.restURL = 'http://localhost:3000/v5/'
167+
// const result = await bchjs.PsfSlpIndexer.getTokenData2(tokenId)
168+
// // console.log('result: ', result)
169+
//
170+
// assert.property(result, 'tokenStats')
171+
// assert.property(result, 'mutableData')
172+
// assert.property(result, 'immutableData')
173+
// assert.property(result, 'tokenIcon')
174+
// assert.property(result, 'fullSizedUrl')
175+
// assert.property(result, 'optimizedTokenIcon')
176+
// assert.property(result, 'optimizedFullSizedUrl')
177+
// assert.property(result, 'iconRepoCompatible')
178+
// assert.property(result, 'ps002Compatible')
179+
// })
180+
// })
179181
})
180182

181183
// Promise-based sleep function

0 commit comments

Comments
 (0)