1 |
|
2 |
|
3 | const path = require('path')
|
4 | var grpc = require('grpc')
|
5 |
|
6 | describe('protobuf test', function() {
|
7 |
|
8 | it('gateway protobuf test', function(done) {
|
9 | var PROTO_PATH = path.join(__dirname, '../src/core/provider-gateway.proto')
|
10 | var protobuf = grpc.load(PROTO_PATH).gateway
|
11 | done()
|
12 | })
|
13 |
|
14 | })
|