Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jun 10, 2023
1 parent 787834e commit 7234a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -8,7 +8,7 @@ import {internalIpV6, internalIpV4, internalIpV6Sync, internalIpV4Sync} from './
const canTestV6 = env.CI ? platform() === 'darwin' : true;

test('IPv6 - async', async t => {
if (!canTestV6) {
if (canTestV6) {
t.true(isIPv6(await internalIpV6()));
} else {
t.is(ip, undefined);

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-20.04, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-22.04, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (macOS-latest, 20)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 16)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 18)

'ip' is not defined.

Check failure on line 14 in test.js

View workflow job for this annotation

GitHub Actions / test (windows-latest, 20)

'ip' is not defined.
Expand Down

0 comments on commit 7234a37

Please sign in to comment.