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

Fix axios import error on tests #48

Merged
merged 3 commits into from
Jan 9, 2023
Merged

Conversation

oxfist
Copy link
Contributor

@oxfist oxfist commented Jan 4, 2023

Thanks for your great work on this! 🙏🏼

I noticed the tests were broken after the latest merge because of a Jest error on require('axios'). I researched a bit and this was because of the axios version bump and was fixed on the latest alpha version, see axios/axios#5101 (comment)

By adding a moduleNameMapper on the Jest config the tests are running and passing again.

I also bumped versions for actions/checkout, actions/cache, and browserslist 👍🏼 Hope this helps! 🙌🏼

@patrickedqvist patrickedqvist merged commit c934e81 into patrickedqvist:main Jan 9, 2023
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.

2 participants