Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Aug 8, 2024
1 parent 10afdcd commit 53247f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/e2e/src/system.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ describe('system rpc', () => {
const { alice } = testingPairs()

it('works', async () => {
expect(await api.rpc.system.chain()).toMatch('Acala')
expect(await api.rpc.system.name()).toMatch('Subway')
expect(await api.rpc.system.version()).toBeInstanceOf(String)
expect((await api.rpc.system.chain()).toString()).toMatch('Acala')
expect((await api.rpc.system.name()).toString()).toMatch('Subway')
expect((await api.rpc.system.version()).toString()).toMatch('chopsticks-v1')
expect(await api.rpc.system.properties()).not.toBeNull()
await check(api.rpc.system.health()).toMatchObject({
peers: 0,
Expand Down

0 comments on commit 53247f5

Please sign in to comment.