mirror of
https://github.com/zkopru-network/zkopru.git
synced 2026-04-24 03:00:03 -04:00
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import assert from 'assert'
|
|
import Zkopru from '../src'
|
|
|
|
describe('client tests', () => {
|
|
it('should use node-fetch implementation', async () => {
|
|
const zkopru = new Zkopru.RPC('http://localhost')
|
|
try {
|
|
await zkopru.getAddress()
|
|
assert(false)
|
|
} catch (err) {
|
|
assert(true)
|
|
}
|
|
}, 10000)
|
|
})
|