diff --git a/test/testSerial.js b/test/testSerial.js index 3788a32..05f128a 100644 --- a/test/testSerial.js +++ b/test/testSerial.js @@ -227,7 +227,6 @@ describe('Native libmbus node-module Serial test ...', function() { }, 1000); }, 1000); }); - expect(mbusMaster.mbusMaster.communicationInProgress).to.be.true; expect(mbusMaster.close()).to.be.false; mbusMaster.getData(3, function(err, data) { expect(err.message).to.be.equal('Communication already in progress'); diff --git a/test/testTcp.js b/test/testTcp.js index 1b0c31f..2558027 100644 --- a/test/testTcp.js +++ b/test/testTcp.js @@ -151,7 +151,6 @@ describe('Native libmbus node-module TCP test ...', function() { }); }, 1000); }); - expect(mbusMaster.mbusMaster.communicationInProgress).to.be.true; expect(mbusMaster.close()).to.be.false; mbusMaster.getData(3, function(err, data) { expect(err.message).to.be.equal('Communication already in progress'); diff --git a/test/testTcpIPV6.js b/test/testTcpIPV6.js index b00a9c2..e6b116d 100644 --- a/test/testTcpIPV6.js +++ b/test/testTcpIPV6.js @@ -156,7 +156,6 @@ describe('Native libmbus node-module TCP-IPv6 test ...', function() { }); }, 1000); }); - expect(mbusMaster.mbusMaster.communicationInProgress).to.be.true; expect(mbusMaster.close()).to.be.false; mbusMaster.getData(3, function(err, data) { expect(err.message).to.be.equal('Communication already in progress');