laconic-registry-cli/test/account.test.ts

12 lines
305 B
TypeScript
Raw Normal View History

2023-03-24 11:32:38 +00:00
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
});
});