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

upgraded eslint packages to latest available #1537

Merged
merged 7 commits into from
Mar 11, 2024

Conversation

davemfish
Copy link
Contributor

@davemfish davemfish commented Mar 11, 2024

One of these packages was not compatible with node v20, now it is. I also ran the checks on node 18 before upgrading to 20. So I think we should be compatible with both now.

Some of the cascading version changes seemed to impact jest. Mocking behavior changed somehow and one test was failing, so I updated our jest config to resolve that. I assume we were somehow depending on a bug that got fixed.

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@davemfish davemfish requested a review from emlys March 11, 2024 21:59
@davemfish davemfish marked this pull request as ready for review March 11, 2024 22:00
@@ -227,7 +227,7 @@ describe('Sidebar Buttons', () => {
const response = 'saved';
archiveDatastack.mockImplementation(() => new Promise(
(resolve) => {
setTimeout(() => resolve(response), 1000);
setTimeout(() => resolve(response), 500);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test failed once intermittently. I think the waitFor at line 245 times out after 1000ms by default, and it was trying to wait for this to resolve, so it was hit/miss.

Copy link
Member

@emlys emlys left a comment

Choose a reason for hiding this comment

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

great, thanks @davemfish!

@emlys emlys merged commit 74513c0 into natcap:main Mar 11, 2024
25 checks passed
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