Change import to require in tests
This commit is contained in:
parent
1dce31d2a8
commit
d3fdab0bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import test, {ExecutionContext} from 'ava';
|
|||
import {JSDOM} from 'jsdom';
|
||||
import {Subject, Observable} from 'rxjs';
|
||||
import ZenObservable from 'zen-observable';
|
||||
import is, {TypeName} from '../source';
|
||||
import is, {TypeName} = require('../source');
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
const URLGlobal = typeof URL === 'undefined' ? require('url').URL : URL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue