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

medplum / medplum / 25935689627 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 07:00PM UTC
Files 903
Run time 41s
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.254%. Remained the same
25935689627.1

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>

21933 of 24761 branches covered (88.58%)

Branch coverage included in aggregate %.

44456 of 47202 relevant lines covered (94.18%)

18641.61 hits per line

Source Files on job 25935689627.1
  • Tree
  • List 903
  • Changed 83
  • Source Changed 0
  • Coverage Changed 83
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25935689627
  • 54b5ee6d on github
  • Prev Job for on main (#25932800930.1)
  • Next Job for on main (#25938282294.1)
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