()
| 366 | } |
| 367 | |
| 368 | function Foo() { |
| 369 | Scheduler.log('Foo'); |
| 370 | return <Bar />; |
| 371 | } |
| 372 | |
| 373 | React.startTransition(() => { |
| 374 | modernRender(<Foo />); |
| 375 | }); |
| 376 | |
| 377 | await waitFor(['Foo']); |
| 378 | |
| 379 | expect(registeredMarks).toMatchInlineSnapshot(` |
| 380 | [ |
| 381 | "--schedule-render-128", |
| 382 | "--render-start-128", |
| 383 | "--component-render-start-Foo", |
| 384 | "--component-render-stop", |
| 385 | "--render-yield", |
| 386 | ] |
| 387 | `); |
| 388 | }); |
| 389 | |
| 390 | it('should mark concurrent render with suspense that resolves', async () => { |
| 391 | let resolveFakePromise; |
nothing calls this directly
no test coverage detected