Skip to content

Commit

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

it('system rpc', 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 10afdcd

Please sign in to comment.