Skip to content

Consolidate setProviderType unit tests - #1221

Merged
Gudahtt merged 1 commit into
mainfrom
consolidate-network-controller-set-provider-type-tests
Apr 19, 2023
Merged

Consolidate setProviderType unit tests#1221
Gudahtt merged 1 commit into
mainfrom
consolidate-network-controller-set-provider-type-tests

Conversation

@Gudahtt

Copy link
Copy Markdown
Member

Description

The unit tests for setProviderType have been consolidated. They were unnecessarily split between Mainnet and other Infura networks, despite the behavior being identical.

Changes

None

References

This was done in pursuit of #1203, though the connection is fairly indirect (I'm on a tangent here)

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation for new or updated code as appropriate (note: this will usually be JSDoc)
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

The unit tests for `setProviderType` have been consolidated. They were
unnecessarily split between Mainnet and other Infura networks, despite
the behavior being identical.
@Gudahtt
Gudahtt marked this pull request as ready for review April 19, 2023 22:05
@Gudahtt
Gudahtt requested a review from a team as a code ownerApril 19, 2023 22:05

@mcmiremcmire left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I'm not sure why I chose to do this originally, but they sure do look the same to me.

@Gudahtt
Gudahtt merged commit 6844706 into mainApr 19, 2023
@Gudahtt
Gudahtt deleted the consolidate-network-controller-set-provider-type-tests branch April 19, 2023 22:26
@legobeatlegobeat mentioned this pull request Apr 25, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Gudahtt@mcmire