Skip to content

Commit

Permalink
refactor(client-utils): varibale names
Browse files Browse the repository at this point in the history
  • Loading branch information
javadkh2 committed Oct 24, 2023
1 parent 4d7be7d commit 3ed019f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/libs/client-utils/src/core/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface IEmit {
}

export interface IClientConfig {
host?: string | ((arg: INetworkOptions) => string);
host?: string | ((options: INetworkOptions) => string);
defaults?: Partial<IPactCommand>;
sign: ISignFunction;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ describe('getBalance', () => {

describe('getDetails', () => {
it("should return the account's details", async () => {
const balance = await details(
const data = await details(
accountOne.account,
'fast-development',
'0',
'http://localhost:8080',
);
expect(balance).toEqual({
expect(data).toEqual({
account: accountOne.account,
balance: 100,
guard: {
Expand Down

0 comments on commit 3ed019f

Please sign in to comment.