• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

medplum / medplum / 25935183477
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-9358-7aa3f0208b6f5f1da1cfc3c0633c2728697d050b
DEFAULT BRANCH: main
Ran 15 May 2026 06:49PM UTC
Jobs 1
Files 777
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 May 2026 06:42PM UTC coverage: 92.018%. Remained the same
25935183477

push

github

web-flow
Fix `act()` warnings in provider tests (#9224)

* Fix `act()` warnings in Provider tests

When using `userEvent`, that tool already wraps the effects in React's
`act`. These redundant outer wrappers cause issues about "not configured
to support act(...)" to spew into the test output.

Unwrapping these removes that output noise and cleans up the test code
little bit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Noah Silas <noah@medplum.com>

* Fix `act()` warnings in provider tests

The `<MultiResourceInput>` component (used by `<ResourceInput>`, which
is used by these components) wraps some of its setup actions related to
setting up the default value in a promise deferral. These tests then
were not capturing those events inside of an `act()` wrapper, leading to
noise in the test output like "An update to MultiResourceInput not
wrapped in act...".

Adding `await act(async () => {})` to these tests lets those updates get
captured by the test helpers and removes that noise.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Noah Silas <noah@medplum.com>

* Fix `act()` warnings in CoverageRequestInbox tests

Two "Check Eligibility" error-notification tests used the native
element.click() method, which fires the event synchronously outside of
any act() context.  The async Mantine notification state update that
followed then triggered "An update to Notifications not wrapped in
act(...)" warnings.  Replace with userEvent.click(), which wraps the
interaction in act() and lets waitFor() properly observe the result.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Noah Silas <noah@medplum.com>

---------

Signed-off-by: Noah Silas <noah@medplum.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

21083 of 23779 branches covered (88.66%)

Branch coverage included in aggregate %.

34748 of 36895 relevant lines covered (94.18%)

23849.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25935183477.1 15 May 2026 06:49PM UTC 903
92.25
GitHub Action Run
Source Files on build 25935183477
  • Tree
  • List 777
  • Changed 83
  • Source Changed 0
  • Coverage Changed 83
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25935183477
  • 54b5ee6d on github
  • Prev Build on gh-readonly-queue/main/pr-9192-c71e098579115ebe4f54c3d9faca443f36a6d90b (#25932800930)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc