Skip to content

Fix CI tests #2185

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

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Fix CI tests #2185

merged 1 commit into from
Jun 22, 2024

Conversation

aryaemami59
Copy link
Member

Overview

It seems like the new version of Vite much like Node.js allows packages to self-reference themselves, which became a problem considering how we were running the tests against the build artifact during CI. The main issue was that when running the tests against the build artifact, Vitest was prioritizing the react-redux source files instead of the external react-redux inside the node_modules folder.

Copy link

codesandbox-ci bot commented Jun 21, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

- It seems like the new version of Vite much like Node.js allows packages to self-reference themselves, which became a problem considering how we were running the tests against the build artifact during CI.
@timdorr
Copy link
Member

timdorr commented Jun 22, 2024

Good catch! Thanks!

@timdorr timdorr merged commit 822f5c9 into reduxjs:master Jun 22, 2024
26 checks passed
@aryaemami59 aryaemami59 deleted the fix-ci-tests branch June 24, 2024 13:27
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