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

hotfix/SUIT-20450 - compatibility of nodejs v.20 with mock-fs was partial fixed. Some part of unit-tests was skipped until nodejs mock-fs problems resolution #522

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

Noorama
Copy link
Contributor

@Noorama Noorama commented Mar 7, 2024

No description provided.

…xed. Some part of unit-tests was skipped until nodejs mock-fs problems resolution
Copy link
Member

@polomsky polomsky left a comment

Choose a reason for hiding this comment

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

I believe that skip should be conditional, for Node version 20.5 and more.

Have you tried to use a different mock system? Somebody used memfs (as shown here tschaub/mock-fs#384)

@Noorama
Copy link
Contributor Author

Noorama commented Mar 7, 2024

I believe that skip should be conditional, for Node version 20.5 and more.

Have you tried to use a different mock system? Somebody used memfs (as shown here tschaub/mock-fs#384)

Sure, I've tried. Memfs works even worse. With mock-fs I was able to make work at least some of the tests. In addition, I don't think that these particular tests are so important to spend too much effort trying to fix them. Evgen also agrees with me.

@polomsky polomsky requested review from polomsky and removed request for polomsky March 13, 2024 14:35
@polomsky polomsky dismissed their stale review March 13, 2024 14:36

Already approved by JeKachan

@JeKachan JeKachan merged commit 050adfa into master Mar 13, 2024
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.

3 participants