Skip to content

Commit

Permalink
fix the ubuntu-test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihozer0 committed Dec 15, 2022
1 parent d83847b commit 8ac4e53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit/connection/ClientMessageReaderTest.js
Expand Up @@ -102,6 +102,9 @@ describe('OldClientMessageReaderTest', function () {
});

describe('ClientMessageReaderTest', function () {

let reader;

function createFrameWithRandomBytes(length) {
const buffer = Buffer.allocUnsafe(length);
for (let i = 0; i < length; i++) {
Expand All @@ -116,8 +119,6 @@ describe('ClientMessageReaderTest', function () {
return buffer;
}

let reader;

beforeEach(function() {
reader = new ClientMessageReader();
});
Expand Down

0 comments on commit 8ac4e53

Please sign in to comment.