setMockRejectRegistration
setMockRejectRegistration(
reject):void
Defined in: testing/index.ts:61
Make the next (and subsequent) registerWindow calls return false, as if
the main process hit maxWindows. Call with false to restore normal
behavior, or rely on resetMockWindows() in beforeEach.
Parameters
Section titled “Parameters”reject
Section titled “reject”boolean
Returns
Section titled “Returns”void