Skip to content

test: improvement management of asynchronous configuration#2817

Merged
tbouffard merged 11 commits into
masterfrom
fix_missing_async_handling_on_tests
Sep 7, 2023
Merged

test: improvement management of asynchronous configuration#2817
tbouffard merged 11 commits into
masterfrom
fix_missing_async_handling_on_tests

Conversation

@csouchet

@csouchet csouchet commented Aug 24, 2023

Copy link
Copy Markdown
Contributor

With the POC PR #2812, I identified instances where asynchronous handling was missing in the tests.

The enabled rules are:

  • @typescript-eslint/require-await
  • @typescript-eslint/no-misused-promises
  • @typescript-eslint/no-floating-promises
  • @typescript-eslint/require-await

The disabled rules are:

  • require-await

Covers #2742

@csouchet csouchet added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Aug 24, 2023
@csouchet csouchet marked this pull request as ready for review August 24, 2023 16:02
@csouchet csouchet requested a review from tbouffard August 24, 2023 16:02
@csouchet csouchet force-pushed the fix_missing_async_handling_on_tests branch from b1f5ade to 69812df Compare August 24, 2023 16:15

@tbouffard tbouffard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have a single remark about test/config/jest.image.ts, otherwise this looks OK

Comment thread test/config/jest.image.ts
@csouchet csouchet force-pushed the fix_missing_async_handling_on_tests branch from 76548f7 to 2118d74 Compare August 31, 2023 14:58
@github-actions

github-actions Bot commented Sep 7, 2023

Copy link
Copy Markdown

♻️ PR Preview 52f7de1 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@github-actions

github-actions Bot commented Sep 7, 2023

Copy link
Copy Markdown

♻️ PR Preview 52f7de1 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@tbouffard tbouffard changed the title test(asynchronous): fix the lack of asynchronous handling in tests. test: improvement management of asynchronous configuration Sep 7, 2023
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@tbouffard tbouffard merged commit bffd25b into master Sep 7, 2023
@tbouffard tbouffard deleted the fix_missing_async_handling_on_tests branch September 7, 2023 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants