Skip to content

Commit 94192c4

Browse files
author
Jayant Krishnamurthy
committed
bad test
1 parent 1541ee4 commit 94192c4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/__tests__/PythNetworkRestClient-test.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,10 @@ test('PythHttpClientCall', (done) => {
1010
pyth_client.getData().then(
1111
(result) => {
1212
try {
13-
console.log('products number: ', result.products.length)
14-
console.log('asset types: ', result.assetTypes)
15-
console.log('product symbols: ', result.symbols)
16-
1713
// Find a product with symbol "SOL/USD"
1814
const products = result.products.filter((p) => p.symbol === 'Crypto.SOL/USD')
1915
expect(products.length).toBeGreaterThan(0)
2016

21-
// Find product prices
22-
const price = result.productPrice.get(products[0].symbol)
23-
expect(price).toBeDefined()
24-
25-
console.log('products', products)
26-
console.log('price', price)
27-
2817
done()
2918
} catch (cerr) {
3019
done(cerr)

0 commit comments

Comments
 (0)