Files
zkopru/packages/client/tests/index.test.ts
2021-05-10 18:39:15 -05:00

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)
})