(ReactNoop, expectedJSX)
| 30 | } |
| 31 | |
| 32 | function toMatchRenderedOutput(ReactNoop, expectedJSX) { |
| 33 | if (typeof ReactNoop.getChildrenAsJSX === 'function') { |
| 34 | const Scheduler = ReactNoop._Scheduler; |
| 35 | assertYieldsWereCleared(Scheduler); |
| 36 | return captureAssertion(() => { |
| 37 | expect(ReactNoop.getChildrenAsJSX()).toEqual(expectedJSX); |
| 38 | }); |
| 39 | } |
| 40 | return JestReact.unstable_toMatchRenderedOutput(ReactNoop, expectedJSX); |
| 41 | } |
| 42 | |
| 43 | module.exports = { |
| 44 | ...SchedulerMatchers, |
nothing calls this directly
no test coverage detected