Closed qaschris closed 5 months ago
In https://github.com/Tricentis/qTest.Integration.Pulse/blob/master/delivery/node.js/delivery.js, when bufferSize is compared to the MB payload cap of 50, it should be able to read the payload size as a number.
bufferSize is being read as a string and the comparison is thrown off as the object types are not equivalent.
cast bufferSize as a Number when comparing it to 50.
Expected Behavior
In https://github.com/Tricentis/qTest.Integration.Pulse/blob/master/delivery/node.js/delivery.js, when bufferSize is compared to the MB payload cap of 50, it should be able to read the payload size as a number.
Current Behavior
bufferSize is being read as a string and the comparison is thrown off as the object types are not equivalent.
Possible Solution
cast bufferSize as a Number when comparing it to 50.