Skip to content

Commit 4a138e3

Browse files
committed
f
1 parent a7b2368 commit 4a138e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
uses: actions/setup-node@v4
1414
with:
1515
node-version: ${{ matrix.node }}
16-
- run: npm ci
16+
- run: npm install
1717
- run: npm test

test/api-test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,15 +418,15 @@ describe('IP library for node.js', () => {
418418
describe('address() method', () => {
419419
describe('undefined', () => {
420420
it('should respond with a private ip', () => {
421-
assert.ok(ip.isPrivate(ip.address()));
421+
assert.ok(ip.isPrivate(ip.address()), `${ip.address()} should be private`);
422422
});
423423
});
424424

425425
describe('private', () => {
426426
[undefined, 'ipv4', 'ipv6'].forEach((family) => {
427427
describe(family || 'undefined', () => {
428428
it('should respond with a private ip', () => {
429-
assert.ok(ip.isPrivate(ip.address('private', family)));
429+
assert.ok(ip.isPrivate(ip.address('private', family)), `${ip.address('private', family)} should be private`);
430430
});
431431
});
432432
});

0 commit comments

Comments
 (0)