Determines if the current process is being run by Jest.

Since
  • 1.0.0
Returns:

Returns true if the current process is being run by Jest. Returns false otherwise.

Type: 
boolean
Example
import { isJestTest } from "@gravityforms/utils";

function Example() {
  const isJestTestRunning = isJestTest();
}