mirror of https://github.com/grpc/grpc-node.git
Move more tests from native core to API test directory
This commit is contained in:
parent
20e0cf45ea
commit
111ce77440
|
@ -36,7 +36,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"electron-mocha": "^3.1.1",
|
||||
"google-protobuf": "^3.0.0",
|
||||
"istanbul": "^0.4.4"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"electron-mocha": "^3.1.1",
|
||||
"google-protobuf": "^3.0.0",
|
||||
"istanbul": "^0.4.4"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -69,6 +68,7 @@
|
|||
"binding.gyp"
|
||||
],
|
||||
"main": "index.js",
|
||||
"typings": "src/index.d.ts",
|
||||
"license": "Apache-2.0",
|
||||
"jshintConfig": {
|
||||
"bitwise": true,
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2016 gRPC authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
/* This exists solely to allow the generated code to import the grpc module
|
||||
* without using a relative path */
|
||||
|
||||
module.exports = require('../../..');
|
|
@ -20,8 +20,9 @@
|
|||
|
||||
var assert = require('assert');
|
||||
|
||||
var grpc = require('..');
|
||||
var math = grpc.load(__dirname + '/../deps/grpc/src/proto/math/math.proto').math;
|
||||
var grpc = require('grpc');
|
||||
var math = grpc.load(
|
||||
__dirname + '/../../packages/grpc-native-core/deps/grpc/src/proto/math/math.proto').math;
|
||||
|
||||
|
||||
/**
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
var grpc = require('../..');
|
||||
var grpc = require('grpc');
|
||||
var grpcMath = require('./math_grpc_pb');
|
||||
var math = require('./math_pb');
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
var assert = require('assert');
|
||||
|
||||
var grpc = require('..');
|
||||
var grpc = require('grpc');
|
||||
var math = require('./math/math_pb');
|
||||
var MathClient = require('./math/math_grpc_pb').MathClient;
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
var Metadata = require('../src/metadata.js');
|
||||
var Metadata = require('grpc').Metadata;
|
||||
|
||||
var assert = require('assert');
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
"body-parser": "^1.15.2",
|
||||
"express": "^4.14.0",
|
||||
"google-auth-library": "^0.9.2",
|
||||
"google-protobuf": "^3.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"minimist": "^1.1.0",
|
||||
"poisson-process": "^0.2.1"
|
||||
|
|
Loading…
Reference in New Issue