MCPcopy
hub / github.com/preactjs/preact / renderBrokenAsync

Function renderBrokenAsync

test-utils/test/shared/act.test.jsx:419–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417
418 describe('asynchronously', () => {
419 const renderBrokenAsync = async () => {
420 await act(async () => {
421 render(<BrokenWidget />, scratch);
422 });
423 };
424
425 it('should rethrow the exception', async () => {
426 let err;

Callers 1

act.test.jsxFile · 0.85

Calls 2

actFunction · 0.90
renderFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…