Skip to content

chore: migrate unit test to use await fulfillment #3703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 23, 2024

Conversation

phantumcode
Copy link
Contributor

Issue #

Description

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@phantumcode phantumcode requested a review from a team as a code owner May 16, 2024 15:22
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.41%. Comparing base (31a0a6a) to head (4bee708).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3703      +/-   ##
==========================================
+ Coverage   68.40%   68.41%   +0.01%     
==========================================
  Files        1089     1089              
  Lines       37651    37651              
==========================================
+ Hits        25755    25760       +5     
+ Misses      11896    11891       -5     
Flag Coverage Δ
API_plugin_unit_test 68.97% <ø> (ø)
AWSPluginsCore 65.81% <ø> (ø)
Amplify 48.14% <ø> (ø)
Analytics_plugin_unit_test 84.52% <ø> (ø)
Auth_plugin_unit_test 79.32% <ø> (-0.01%) ⬇️
DataStore_plugin_unit_test 81.45% <ø> (+0.08%) ⬆️
Geo_plugin_unit_test 72.00% <ø> (ø)
Logging_plugin_unit_test 62.87% <ø> (ø)
Predictions_plugin_unit_test 37.32% <ø> (ø)
PushNotifications_plugin_unit_test 86.21% <ø> (ø)
Storage_plugin_unit_test 76.75% <ø> (ø)
unit_tests 68.41% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

sebaland
sebaland previously approved these changes May 16, 2024
@5d 5d had a problem deploying to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Failure
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:29 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d had a problem deploying to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Failure
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d had a problem deploying to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Failure
@5d 5d had a problem deploying to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Failure
@5d 5d had a problem deploying to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Failure
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
@5d 5d temporarily deployed to IntegrationTest May 23, 2024 00:30 — with GitHub Actions Inactive
lawmicha
lawmicha previously approved these changes May 23, 2024
@phantumcode phantumcode merged commit 63b4c1b into main May 23, 2024
80 checks passed
@phantumcode phantumcode deleted the chore/swift6_unittest_warnings branch May 23, 2024 17:33
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.

4 participants