Skip to content

Commit

Permalink
test: Update ports integration test (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Dec 13, 2024
1 parent 0721bb2 commit 7675176
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/functional/adb-commands-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,8 @@ describe('adb commands', function () {
});

describe('listPorts', function () {
it('should list IPv4 ports', async function () {
_.isEmpty(await adb.listPorts()).should.be.false;
});
it('should list IPv6 ports', async function () {
_.isEmpty(await adb.listPorts('6')).should.be.false;
it('should list opened ports', async function () {
(_.isEmpty(await adb.listPorts()) && _.isEmpty(await adb.listPorts('6'))).should.be.false;
});
});
});

0 comments on commit 7675176

Please sign in to comment.