This commit is contained in:
Federico Brigante 2019-05-19 12:23:30 +08:00 committed by GitHub
parent c01788855d
commit c4d100aa4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,13 @@ import test, {ExecutionContext} from 'ava';
import {JSDOM} from 'jsdom';
import {Subject, Observable} from 'rxjs';
import ZenObservable from 'zen-observable';
// eslint-disable-next-line @typescript-eslint/no-require-imports
import is = require('../source');
// eslint-disable-next-line @typescript-eslint/no-require-imports
const URLGlobal = typeof URL === 'undefined' ? require('url').URL : URL;
const {TypeName} = is;
const isNode10orHigher = Number(process.versions.node.split('.')[0]) >= 10;