summaryrefslogtreecommitdiff
path: root/tests/assertions.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assertions.js')
-rw-r--r--tests/assertions.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/assertions.js b/tests/assertions.js
index c33c81e..739f637 100644
--- a/tests/assertions.js
+++ b/tests/assertions.js
@@ -29,12 +29,6 @@ chai.use(function (_chai, utils) {
_chai.Assertion.addMethod('sent', function (targetData) {
const obj = this._obj;
- obj.inspect = () => {
- const res = { _websocket: obj._websocket, rQi: obj._rQi, _rQ: new Uint8Array(obj._rQ.buffer, 0, obj._rQlen),
- _sQ: new Uint8Array(obj._sQ.buffer, 0, obj._sQlen) };
- res.prototype = obj;
- return res;
- };
const data = obj._websocket._getSentData();
let same = true;
if (data.length != targetData.length) {