Skip to content

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.

@codesandbox-ci
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
@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