forked from cerc-io/laconic-sdk
Add debug comments
This commit is contained in:
parent
972b878674
commit
f791ce828d
@ -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 () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user