Update test.ts
This commit is contained in:
parent
6d79aa71bc
commit
a903469706
1 changed files with 0 additions and 2 deletions
|
|
@ -536,9 +536,7 @@ test('is.directInstanceOf', t => {
|
||||||
|
|
||||||
test('is.urlInstance', t => {
|
test('is.urlInstance', t => {
|
||||||
const url = new URL('https://www.example.com');
|
const url = new URL('https://www.example.com');
|
||||||
|
|
||||||
t.true(m.urlInstance(url));
|
t.true(m.urlInstance(url));
|
||||||
|
|
||||||
t.false(m.urlInstance({}));
|
t.false(m.urlInstance({}));
|
||||||
t.false(m.urlInstance(undefined));
|
t.false(m.urlInstance(undefined));
|
||||||
t.false(m.urlInstance(null));
|
t.false(m.urlInstance(null));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue