Skip to content

chore: suppress MA0134 in test projects - #1197

Merged
vbreuss merged 1 commit into
mainfrom
chore/suppress-ma0134-in-tests
Nov 4, 2026
Merged

vbreuss merged 1 commit into
mainfrom
chore/suppress-ma0134-in-tests

Conversation

@vbreuss

@vbreuss vbreuss commented Nov 4, 2026

Copy link
Copy Markdown
Member

The analyzer treats the nested expectation lambdas of aweXpect (e.g. Whose or WhoseContent) as unobserved async calls, although the outer await evaluates them, so the rule only produces false positives in tests.

@vbreuss vbreuss self-assigned this Nov 4, 2026
@vbreuss
vbreuss force-pushed the chore/suppress-ma0134-in-tests branch from 9607829 to a47eee0 Compare November 4, 2026 15:53
The analyzer treats the nested expectation lambdas of aweXpect (e.g. Whose or WhoseContent) as unobserved async calls, although the outer await evaluates them, so the rule only produces false positives in tests.
@vbreuss
vbreuss force-pushed the chore/suppress-ma0134-in-tests branch from a47eee0 to 63241fc Compare November 4, 2026 16:03
@vbreuss
vbreuss enabled auto-merge (squash) November 4, 2026 16:36
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Test Results

     56 files  ±0       56 suites  ±0   1h 12m 44s ⏱️ + 2m 30s
 60 397 tests  - 5   57 365 ✅  - 5   3 032 💤 ±0  0 ❌ ±0 
138 608 runs  ±0  126 062 ✅ ±0  12 546 💤 ±0  0 ❌ ±0 

Results for commit 63241fc. ± Comparison against base commit c9d4f3a.

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@vbreuss
vbreuss disabled auto-merge November 4, 2026 17:31
@vbreuss
vbreuss merged commit 9b42dad into main Nov 4, 2026
13 of 14 checks passed
@vbreuss
vbreuss deleted the chore/suppress-ma0134-in-tests branch November 4, 2026 17:31
@github-actions

Copy link
Copy Markdown

This is addressed in release v8.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant