Skip to content

Add simple tests for yauzl-based unzip functions#3153

Merged
koesie10 merged 8 commits intomainfrom
koesie10/yauzl-unzip-tests
Dec 20, 2023
Merged

Add simple tests for yauzl-based unzip functions#3153
koesie10 merged 8 commits intomainfrom
koesie10/yauzl-unzip-tests

Conversation

@koesie10
Copy link
Copy Markdown
Member

This adds some simple unit tests for the yauzl-based unzip functions. This ensures that these functions keep working when upgrading Node versions or making other changes.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@koesie10 koesie10 marked this pull request as ready for review December 19, 2023 12:55
@koesie10 koesie10 requested a review from a team as a code owner December 19, 2023 12:55
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

Looking good, just a few small comments.

Comment thread extensions/ql-vscode/test/unit-tests/common/unzip.test.ts Outdated
Comment thread extensions/ql-vscode/test/unit-tests/common/unzip.test.ts
Comment thread extensions/ql-vscode/test/unit-tests/common/unzip.test.ts Outdated
@koesie10 koesie10 requested a review from charisk December 19, 2023 13:58
Comment thread extensions/ql-vscode/test/unit-tests/common/unzip.test.ts Fixed
This should fix any permissions errors we get due to the ZIP file
containing files with different permissions.
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@koesie10 koesie10 merged commit e824fda into main Dec 20, 2023
@koesie10 koesie10 deleted the koesie10/yauzl-unzip-tests branch December 20, 2023 09:01
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