Skip to content

Commit

Permalink
test: update get status functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Aug 30, 2024
1 parent 993ecee commit a700709
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ describe.only('Platform', () => {
it('should return status', async () => {
const status = await client.dapiClient.platform.getStatus();

console.dir(status, { depth: null });
expect(status).to.be.a.property('version');
expect(status.version).to.have.property('software');
expect(status.version.software).to.have.an('object');
expect(status.version.software.dapi).to.be.a('string').and.not.be.empty();
expect(status.version.software.drive).to.be.a('string').and.not.be.empty();
expect(status.version.software.tenderdash).to.be.a('string').and.not.be.empty();
});
});
});

0 comments on commit a700709

Please sign in to comment.