Skip to content

Add check for error message for packaging.test.ts#2151

Merged
koesie10 merged 2 commits intomainfrom
koesie10/packaging-error-message
Mar 10, 2023
Merged

Add check for error message for packaging.test.ts#2151
koesie10 merged 2 commits intomainfrom
koesie10/packaging-error-message

Conversation

@koesie10
Copy link
Copy Markdown
Member

@koesie10 koesie10 commented Mar 9, 2023

This will add a check to ensure that showAndLogExceptionWithTelemetry is not called when downloading packs. This expectation is placed before the check for showAndLogInformationMessage so that when the test fails, the error message will be shown.

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.

This will add a check to ensure that `showAndLogExceptionWithTelemetry`
is not called when downloading packs. This expectation is placed before
the check for `showAndLogInformationMessage` so that when the test
fails, the error message will be shown.
@koesie10 koesie10 added the secexp label Mar 9, 2023
@koesie10 koesie10 marked this pull request as ready for review March 9, 2023 11:37
@koesie10 koesie10 requested a review from a team as a code owner March 9, 2023 11:37
Copy link
Copy Markdown
Contributor

@norascheuch norascheuch left a comment

Choose a reason for hiding this comment

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

👍

@koesie10 koesie10 enabled auto-merge March 10, 2023 09:28
@koesie10 koesie10 merged commit 9048dfd into main Mar 10, 2023
@koesie10 koesie10 deleted the koesie10/packaging-error-message branch March 10, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants