Add debug comments

This commit is contained in:
Prathamesh Musale 2024-01-17 17:06:23 +05:30
parent 972b878674
commit f791ce828d

View File

@ -19,6 +19,8 @@ const namingTests = () => {
let watcherId: string;
beforeAll(async () => {
console.log('running parent beforeAll')
registry = new Registry(gqlEndpoint, restEndpoint, chainId);
// Create bond.
@ -38,6 +40,8 @@ const namingTests = () => {
)
watcherId = result.data.id;
console.log('done running parent beforeAll')
});
describe('Authority tests', () => {
@ -52,10 +56,13 @@ const namingTests = () => {
let crn: string;
beforeAll(async () => {
console.log('running beforeAll')
authorityName = `laconic-${Date.now()}`;
crn = `crn://${authorityName}/app/test`;
await registry.reserveAuthority({ name: authorityName }, privateKey, fee);
console.log('done running beforeAll')
})
test('Lookup authority.', async () => {