Overrides the detected value of isWindows or isOSX, e.g. to test platform specific behavior. The exports of ES modules cannot be replaced by test doubles, so tests use this function instead.
isWindows
isOSX
Overrides the detected value of
isWindowsorisOSX, e.g. to test platform specific behavior. The exports of ES modules cannot be replaced by test doubles, so tests use this function instead.