Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump vite-plugin-svgr #871

Merged
merged 4 commits into from
Nov 3, 2023
Merged

Conversation

ckniffen
Copy link
Collaborator

@ckniffen ckniffen commented Nov 2, 2023

High Level Overview of Change

Required changing the plugin config and fixing an already precarious test.

Replaces #861

Context of Change

I dont know what transitive dependency broke the NFT component test. Regardless it was an oddly written test. Mocking React's useState could have other consequences. Instead the child component is mocked which when there is an error tells the NFTToken about it.

Type of Change

  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)

Required changing the plugin config

Replaces #861
Instead of mocking React.useState it instead mocks the child component
which will set the error.
# Conflicts:
#	package-lock.json
@ckniffen ckniffen merged commit 032f709 into staging Nov 3, 2023
4 checks passed
@ckniffen ckniffen deleted the feature/bump-vite-svgr branch November 3, 2023 20:02
Sign up for free to 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.

None yet

3 participants