Skip to content

Commit

Permalink
fix v6 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jun 10, 2023
1 parent 7234a37 commit dd407c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Expand Up @@ -11,7 +11,7 @@ test('IPv6 - async', async t => {
if (canTestV6) {
t.true(isIPv6(await internalIpV6()));
} else {
t.is(ip, undefined);
t.is(await internalIpV6(), undefined);
}
});

Expand All @@ -23,7 +23,7 @@ test('IPv6 - sync', t => {
if (canTestV6) {
t.true(isIPv6(internalIpV6Sync()));
} else {
t.is(ip, undefined);
t.is(internalIpV6Sync(), undefined);
}
});

Expand Down

0 comments on commit dd407c8

Please sign in to comment.