Skip to content

Conversation

@lovisaberggren
Copy link
Collaborator

Proposed changes

The severities were not asserted in the IPA rule test hook, this PR adds the test and fixes rules that are already switched to error-level.

expect(error.code).toEqual(testCase.errors[index].code);
expect(error.message).toMatch(testCase.errors[index].message);
expect(error.path).toEqual(testCase.errors[index].path);
expect(error.severity).toEqual(testCase.errors[index].severity);
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@wtrocki
Copy link
Member

wtrocki commented Mar 20, 2025

Nice! Really good find and fix

@lovisaberggren lovisaberggren marked this pull request as ready for review March 20, 2025 16:08
@lovisaberggren lovisaberggren requested a review from a team as a code owner March 20, 2025 16:08
@lovisaberggren lovisaberggren merged commit 286add7 into main Mar 20, 2025
8 checks passed
@lovisaberggren lovisaberggren deleted the fix-ipa-rule-test-severity branch March 20, 2025 16:09
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