FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix running tests on Node 18.8 by henrymercer · Pull Request #1231 · github/codeql-action · GitHub

Fix running tests on Node 18.8 - #1231

Merged
henrymercer merged 1 commit into
mainfrom
henrymercer/fix-running-tests-on-node18.8
Sep 2, 2022
Merged

henrymercer merged 1 commit into
mainfrom
henrymercer/fix-running-tests-on-node18.8

Conversation

Copy link
Copy Markdown
Contributor

This PR fixes errors like this:

  TypeError: Cannot destructure property 'payload' of 'sourceMap' as it is null.

  › file://node_modules/mem/dist/index.js:42:27
  › file://node_modules/mem/dist/index.js:42:27
  › Object.<anonymous> (src/analyze-action-post-helper.test.ts:12:5)

  ✖ src/analyze-action-post-helper.test.ts exited with a non-zero exit code: 1

when running tests on Node 18.8. The fix is simple: update ava to v4.3.3. This version of ava adds compatibility with Node 18.8.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3)
mention compatibility with Node 18.8.
henrymercer requested a review from a team as a code owner September 2, 2022 17:16

adityasharad left a comment
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Sounds reasonable. I had hoped Dependency Review would show me the other dependencies that were updated in the lockfile as a result, but it's clear what you're primarily changing here.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL