6
0

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