git.delta.rocks / unique-network / refs/commits / 297a2ab34b66

difftreelog

source

tests/src/connection.test.ts302 Bsourcehistory
1import createSubstrateApi from "./substrate-api";2import {expect} from 'chai';34describe('Connection', () => {5  it('Connection can be established', async () => {6    const api = await createSubstrateApi();7    const health = await api.rpc.system.health();8    expect(health).to.be.not.empty;9  });10});