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 CI tests #4475

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Fix CI tests #4475

merged 1 commit into from
Jun 28, 2024

Conversation

aryaemami59
Copy link
Contributor

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 @reduxjs/toolkit source files instead of the external @reduxjs/toolkit inside the node_modules folder.

Copy link

codesandbox bot commented Jun 21, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for redux-starter-kit-docs ready!

Name Link
🔨 Latest commit 9371a4c
🔍 Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/66798d7fcd5025000823aa8f
😎 Deploy Preview https://deploy-preview-4475--redux-starter-kit-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

Latest deployment of this branch, based on commit 9371a4c:

Sandbox Source
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration
rtk-esm-cra Configuration

- 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.
@EskiMojo14 EskiMojo14 merged commit dc0cb57 into reduxjs:master Jun 28, 2024
28 checks passed
@EskiMojo14
Copy link
Collaborator

thanks!

@aryaemami59 aryaemami59 deleted the fix-ci-tests branch June 28, 2024 22:06
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