react-screen-wake-lock
React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.
jest-wake-lock-mock
Mock Screen Wake Lock API `navigator.wakeLock` with ease and run your tests using Jest