File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,12 @@ import { ProtoGrpcType as TestServiceGrpcType } from './generated/test_service';
35
35
import { Request__Output } from './generated/Request' ;
36
36
import { CompressionAlgorithms } from '../src/compression-algorithms' ;
37
37
38
- const loadedTestServiceProto = protoLoader . loadSync ( 'test/ fixtures/test_service.proto', {
38
+ const loadedTestServiceProto = protoLoader . loadSync ( path . join ( __dirname , ' fixtures/test_service.proto') , {
39
39
keepCase : true ,
40
40
longs : String ,
41
41
enums : String ,
42
42
defaults : true ,
43
- oneofs : true ,
44
- includeDirs : [
45
- `${ __dirname } /../../proto`
46
- ]
43
+ oneofs : true
47
44
} ) ;
48
45
49
46
const testServiceGrpcObject = grpc . loadPackageDefinition ( loadedTestServiceProto ) as unknown as TestServiceGrpcType ;
You can’t perform that action at this time.
0 commit comments