license /** Gets whether the code is currently running in a test environment. */ export function _isTestEnvironment ( ) { return ( ( typeof __karma__ !== 'undefined' && ! ! __karma__ ) || ( typeof jasmine !== 'undefined' && ! ! jasmine ) || ( typeof jest !== 'undefined' && ! ! jest ) || ( typeof Mocha !== 'undefined' && ! ! Mocha ) ) ; }