diff options
author | 2016-11-01 11:05:02 -0700 | |
---|---|---|
committer | 2016-11-01 11:05:02 -0700 | |
commit | eaf796400169786c33a438c56c41a46d8ed45b02 (patch) | |
tree | 748f3ea2070ad4771db1d3ae5f0a21c59329db9d /src/node/test/surface_test.js | |
parent | cb4b2b5d7dc1699a709ffce8b96a3920bd39f8eb (diff) |
Add test scripts for electron
Diffstat (limited to 'src/node/test/surface_test.js')
-rw-r--r-- | src/node/test/surface_test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node/test/surface_test.js b/src/node/test/surface_test.js index d8b36dc55c..17c62d5635 100644 --- a/src/node/test/surface_test.js +++ b/src/node/test/surface_test.js @@ -183,6 +183,7 @@ describe('Server.prototype.addProtoService', function() { assert.strictEqual(status.code, grpc.status.UNIMPLEMENTED); done(); }); + call.on('error', function(status) { /* Do nothing */ }); }); it('should respond to a bidi call with UNIMPLEMENTED', function(done) { var call = client.divMany(); @@ -193,6 +194,7 @@ describe('Server.prototype.addProtoService', function() { assert.strictEqual(status.code, grpc.status.UNIMPLEMENTED); done(); }); + call.on('error', function(status) { /* Do nothing */ }); call.end(); }); }); |