Skip to content

Commit 7675176

Browse files
test: Update ports integration test (#778)
1 parent 0721bb2 commit 7675176

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/functional/adb-commands-e2e-specs.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,8 @@ describe('adb commands', function () {
285285
});
286286

287287
describe('listPorts', function () {
288-
it('should list IPv4 ports', async function () {
289-
_.isEmpty(await adb.listPorts()).should.be.false;
290-
});
291-
it('should list IPv6 ports', async function () {
292-
_.isEmpty(await adb.listPorts('6')).should.be.false;
288+
it('should list opened ports', async function () {
289+
(_.isEmpty(await adb.listPorts()) && _.isEmpty(await adb.listPorts('6'))).should.be.false;
293290
});
294291
});
295292
});

0 commit comments

Comments
 (0)