Skip to content

Commit

Permalink
fix(test suite): fix failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Jul 4, 2024
1 parent d7cf9cb commit e768cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vault/test/network-info/network-info-store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe("CredentialStore", () => {
// check total number of networks
const networks = result.current.allNetworkInfo()
expect(networks.length).toEqual(
Object.keys(DEFAULT_NETWORK_INFO).length + 2,
Object.keys(DEFAULT_NETWORK_INFO).length + 1,
)
})
it("should add two networks and set mainnet as current network", () => {
Expand All @@ -123,7 +123,7 @@ describe("CredentialStore", () => {
})
const chainIds = result.current.getChainIds()
expect(chainIds.length).toEqual(
Object.keys(DEFAULT_NETWORK_INFO).length + 2,
Object.keys(DEFAULT_NETWORK_INFO).length + 1,
)
})
it("should update existing network info", () => {
Expand Down

0 comments on commit e768cc9

Please sign in to comment.