laconic-registry-cli/test/account.test.ts
2023-03-24 17:02:38 +05:30

12 lines
305 B
TypeScript

import {cliTest} from './helper';
const args= "account "
export var address=""
describe("test account",() => {
it("get account should return account details",async ()=>{
const resp=JSON.parse(cliTest(args+"get"));
expect(resp).toBeDefined;
address=resp[0].address
});
});