Connectum API Reference / @connectum/testing / index / FakeMethodOptions
Interface: FakeMethodOptions ​
Defined in: test-fixtures/dist/types.d.ts:109
Options for createFakeMethod.
Properties ​
methodKind? ​
optionalmethodKind?:"client_streaming"|"server_streaming"|"bidi_streaming"|"unary"
Defined in: test-fixtures/dist/types.d.ts:111
Method kind. Default: 'unary'
register? ​
optionalregister?:boolean
Defined in: test-fixtures/dist/types.d.ts:116
Whether to register the method in service.methods. Default: false Registering a name that the service already has throws.