mirror of https://github.com/grpc/grpc-node.git
Fixed up Node tests after math folder move
This commit is contained in:
parent
f5e8c51218
commit
97b58fb6b6
|
@ -36,7 +36,7 @@
|
|||
var assert = require('assert');
|
||||
|
||||
var grpc = require('..');
|
||||
var math = grpc.load(__dirname + '/../examples/math.proto').math;
|
||||
var math = grpc.load(__dirname + '/math/math.proto').math;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -47,7 +47,7 @@ var math_client;
|
|||
/**
|
||||
* Server to test against
|
||||
*/
|
||||
var getServer = require('../examples/math_server.js');
|
||||
var getServer = require('./math/math_server.js');
|
||||
|
||||
var server = getServer();
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
var grpc = require('..');
|
||||
var grpc = require('../..');
|
||||
var math = grpc.load(__dirname + '/math.proto').math;
|
||||
|
||||
/**
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
var assert = require('assert');
|
||||
|
||||
var grpc = require('..');
|
||||
var math = grpc.load(__dirname + '/../examples/math.proto').math;
|
||||
var math = grpc.load(__dirname + '/math/math.proto').math;
|
||||
|
||||
/**
|
||||
* Client to use to make requests to a running server.
|
||||
|
@ -46,7 +46,7 @@ var math_client;
|
|||
/**
|
||||
* Server to test against
|
||||
*/
|
||||
var getServer = require('../examples/math_server.js');
|
||||
var getServer = require('./math/math_server.js');
|
||||
|
||||
var server = getServer();
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ var ProtoBuf = require('protobufjs');
|
|||
|
||||
var grpc = require('..');
|
||||
|
||||
var math_proto = ProtoBuf.loadProtoFile(__dirname + '/../examples/math.proto');
|
||||
var math_proto = ProtoBuf.loadProtoFile(__dirname + '/math/math.proto');
|
||||
|
||||
var mathService = math_proto.lookup('math.Math');
|
||||
|
||||
|
|
Loading…
Reference in New Issue