Change GQL field names in test
Some checks failed
Lint / lint (18.x) (pull_request) Successful in 1m14s
Tests / cli_tests (18.x) (pull_request) Failing after 7m11s

This commit is contained in:
Nabarun 2024-07-21 19:20:41 +05:30
parent a78e689a86
commit 37d16d631f

View File

@ -67,12 +67,12 @@ describe('Test laconic CLI commands', () => {
expect(outputObj).toHaveProperty('node');
expect(outputObj).toHaveProperty('node.network', CHAIN_ID);
expect(outputObj).toHaveProperty('sync');
expect(Number(outputObj.sync.latest_block_height)).toBeGreaterThan(0);
expect(Number(outputObj.sync.latestBlockHeight)).toBeGreaterThan(0);
expect(outputObj).toHaveProperty('validator');
expect(outputObj).toHaveProperty('validators');
expect(outputObj).toHaveProperty('num_peers');
expect(outputObj).toHaveProperty('numPeers');
expect(outputObj).toHaveProperty('peers');
expect(outputObj).toHaveProperty('disk_usage');
expect(outputObj).toHaveProperty('diskUsage');
});
describe('Bond operations', () => {