Update Dockerfile and SDK tests workflow #7

Merged
nabarun merged 5 commits from pm-sdk-tests into main 2024-03-13 05:23:14 +00:00
Showing only changes of commit 92cf9eb4d8 - Show all commits

View File

@ -40,7 +40,7 @@ const nameserviceExpiryTests = () => {
privateKey, privateKey,
fee fee
); );
console.log('SetRecordResult: ' + result.id); expect(result.id).toBeDefined();
const [record] = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version }, true); const [record] = await registry.queryRecords({ type: 'WebsiteRegistrationRecord', version: watcher.record.version }, true);
recordExpiryTime = new Date(record.expiryTime); recordExpiryTime = new Date(record.expiryTime);
@ -77,10 +77,8 @@ const nameserviceExpiryTests = () => {
authorityExpiryTime = updatedExpiryTime; authorityExpiryTime = updatedExpiryTime;
}); });
// TODO: Check bond balance not decreasing correctly
test('Check bond balance', async () => { test('Check bond balance', async () => {
const [bond] = await registry.getBondsByIds([bondId]); const [bond] = await registry.getBondsByIds([bondId]);
console.log(bond);
expect(bond).toBeDefined(); expect(bond).toBeDefined();
expect(bond.balance).toHaveLength(0); expect(bond.balance).toHaveLength(0);
}); });