Skip to content

Conversation

glauberbrack
Copy link

@glauberbrack glauberbrack commented Apr 19, 2023

Description

When attempting to clone this repository and run 'yarn test,' an error occurs due to a missing jest dependency.

Fixes # (issue)
Install the library jest-environment-jsdom in most updated version 29.5.0 as dev depency

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

To install dependencies in this branch, please run 'yarn'. Once dependencies are installed, you can run 'yarn test'. This should result in a successful test run.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link
Owner

@fdaciuk fdaciuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @glauberbrack, sorry for the delay! Thanks a lot for your contribution! ❤️

"vite-tsconfig-paths": "3.5.1"
},
"devDependencies": {
"jest-environment-jsdom": "^29.5.0"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this in dependencies instead of devDependencies?

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