Make validatorDelegations test more stable
This commit is contained in:
parent
42852c1cae
commit
06d8f66a9d
@ -402,7 +402,7 @@ describe("StakingExtension", () => {
|
||||
const response = await client.staking.validatorDelegations(validatorAddress);
|
||||
expect(response).toEqual({
|
||||
height: jasmine.stringMatching(nonNegativeIntegerMatcher),
|
||||
result: [
|
||||
result: jasmine.arrayContaining([
|
||||
{
|
||||
delegator_address: faucet.address,
|
||||
validator_address: validatorAddress,
|
||||
@ -415,7 +415,7 @@ describe("StakingExtension", () => {
|
||||
shares: "250000000.000000000000000000",
|
||||
balance: { denom: "ustake", amount: "250000000" },
|
||||
},
|
||||
],
|
||||
]),
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user