• Determines if code is running from Jest test.

    Returns boolean

    true if in test environment, false otherwise