Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@angular/cdk/esm2015/platform/features/test-environment.js

    r59329aa re29cc2e  
    66 * found in the LICENSE file at https://angular.io/license
    77 */
    8 let testGlobals;
    9 // We check the Node-specific `global` first, because tools tend to add a fake
    10 // `window` in Node environments which won't actually receive global variables.
    11 if (typeof global !== 'undefined') {
    12     testGlobals = global;
    13 }
    14 else if (typeof window !== 'undefined') {
    15     testGlobals = window;
    16 }
    17 else {
    18     testGlobals = {};
    19 }
    208/** Gets whether the code is currently running in a test environment. */
    219export function _isTestEnvironment() {
    22     return (typeof testGlobals.__karma__ !== 'undefined' && !!testGlobals.__karma__) ||
    23         (typeof testGlobals.jasmine !== 'undefined' && !!testGlobals.jasmine) ||
    24         (typeof testGlobals.jest !== 'undefined' && !!testGlobals.jest) ||
    25         (typeof testGlobals.Mocha !== 'undefined' && !!testGlobals.Mocha);
     10    // We can't use `declare const` because it causes conflicts inside Google with the real typings
     11    // for these symbols and we can't read them off the global object, because they don't appear to
     12    // be attached there for some runners like Jest.
     13    // (see: https://github.com/angular/components/issues/23365#issuecomment-938146643)
     14    return (
     15    // @ts-ignore
     16    (typeof __karma__ !== 'undefined' && !!__karma__) ||
     17        // @ts-ignore
     18        (typeof jasmine !== 'undefined' && !!jasmine) ||
     19        // @ts-ignore
     20        (typeof jest !== 'undefined' && !!jest) ||
     21        // @ts-ignore
     22        (typeof Mocha !== 'undefined' && !!Mocha));
    2623}
    27 //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1lbnZpcm9ubWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jZGsvcGxhdGZvcm0vZmVhdHVyZXMvdGV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