Skip to content

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.

boolean

void