diff --git a/test/functional/adb-commands-e2e-specs.js b/test/functional/adb-commands-e2e-specs.js index f77e2a52..6bcc6523 100644 --- a/test/functional/adb-commands-e2e-specs.js +++ b/test/functional/adb-commands-e2e-specs.js @@ -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; }); }); });