Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Mar 12, 2023
1 parent 6675347 commit 1fdc899
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ describe("#container", function() {
stream: true,
stdin: true,
stdout: true,
stderr: true
stderr: true,
hijack: true
};
container.attach(attach_opts, function handler(err, stream) {
expect(err).to.be.null;
Expand Down Expand Up @@ -285,7 +286,8 @@ describe("#container", function() {
stream: true,
stdin: true,
stdout: true,
stderr: true
stderr: true,
hijack: true
};
container.attach(attach_opts, function handler(err, stream) {
expect(err).to.be.null;
Expand Down Expand Up @@ -396,12 +398,12 @@ describe("#container", function() {
stream: true,
stdin: true,
stdout: true,
stderr: true
stderr: true,
hijack: true
};
container.attach(attach_opts, function handler(err, stream) {
expect(err).to.be.null;
expect(stream).to.be.ok;
expect(stream).to.not.be.an.instanceof(Socket);

var memStream = new MemoryStream();
var output = '';
Expand Down

0 comments on commit 1fdc899

Please sign in to comment.