Skip to content

Commit

Permalink
test: integration tests for blockchain
Browse files Browse the repository at this point in the history
  • Loading branch information
chedieck committed Aug 14, 2024
1 parent 1af0f04 commit 360823f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/integration-tests/blockchainClients.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { getLastBlockTimestamp } from 'services/blockchainService'

describe('blockchain clients connect', () => {
it('bitcoincash chronik connects', async () => {
const x = await getLastBlockTimestamp('bitcoincash')
expect(x).toBeGreaterThan(1723630000)
})
it('eCash chronik connects', async () => {
const x = await getLastBlockTimestamp('ecash')
expect(x).toBeGreaterThan(1723630000)
})
})

0 comments on commit 360823f

Please sign in to comment.