git.delta.rocks / unique-network / refs/commits / f847a9e5e48e

difftreelog

source

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