diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-12-07 09:55:22 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-12-07 17:18:51 -0800 |
commit | 8ef43bd7c845136c971aa1ea1f29586e724e206e (patch) | |
tree | 0096af0b207a9a778d66b699fe01bb9ace78c762 /src/node/test | |
parent | e8132d39547b083d5a7dbdfeb64c6aa7463ab9c1 (diff) |
update location of .protos in node
Diffstat (limited to 'src/node/test')
-rw-r--r-- | src/node/test/async_test.js | 2 | ||||
-rw-r--r-- | src/node/test/math/math_server.js | 3 | ||||
-rw-r--r-- | src/node/test/math_client_test.js | 2 | ||||
-rw-r--r-- | src/node/test/surface_test.js | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/src/node/test/async_test.js b/src/node/test/async_test.js index 0af63c379e..c46e745116 100644 --- a/src/node/test/async_test.js +++ b/src/node/test/async_test.js @@ -36,7 +36,7 @@ var assert = require('assert'); var grpc = require('..'); -var math = grpc.load(__dirname + '/math/math.proto').math; +var math = grpc.load(__dirname + '/../../proto/math/math.proto').math; /** diff --git a/src/node/test/math/math_server.js b/src/node/test/math/math_server.js index 9d06596f3d..9f67c52ab0 100644 --- a/src/node/test/math/math_server.js +++ b/src/node/test/math/math_server.js @@ -34,7 +34,8 @@ 'use strict'; var grpc = require('../..'); -var math = grpc.load(__dirname + '/math.proto').math; +var math = grpc.load(__dirname + '/../../../proto/math/math.proto').math; + /** * Server function for division. Provides the /Math/DivMany and /Math/Div diff --git a/src/node/test/math_client_test.js b/src/node/test/math_client_test.js index 6361d97857..3d44610536 100644 --- a/src/node/test/math_client_test.js +++ b/src/node/test/math_client_test.js @@ -36,7 +36,7 @@ var assert = require('assert'); var grpc = require('..'); -var math = grpc.load(__dirname + '/math/math.proto').math; +var math = grpc.load(__dirname + '/../../proto/math/math.proto').math; /** * Client to use to make requests to a running server. diff --git a/src/node/test/surface_test.js b/src/node/test/surface_test.js index 523fda6849..fc765ed731 100644 --- a/src/node/test/surface_test.js +++ b/src/node/test/surface_test.js @@ -41,7 +41,8 @@ var ProtoBuf = require('protobufjs'); var grpc = require('..'); -var math_proto = ProtoBuf.loadProtoFile(__dirname + '/math/math.proto'); +var math_proto = ProtoBuf.loadProtoFile(__dirname + + '/../../proto/math/math.proto'); var mathService = math_proto.lookup('math.Math'); |