From 05e914e8670a64bff54ca2646e74b20e9fa25245 Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Thu, 9 May 2024 15:24:29 +0200 Subject: [PATCH] try get away other callback deprecations --- test/testSerial.js | 1 - test/testTcp.js | 1 - test/testTcpIPV6.js | 1 - 3 files changed, 3 deletions(-) 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');