Skip to content

Commit

Permalink
refactor(core): align code changes to the rest of the codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Oct 30, 2020
2 parents e22a3e7 + 7850c9a commit 511625c
Show file tree
Hide file tree
Showing 36 changed files with 14,813 additions and 33,388 deletions.
2 changes: 1 addition & 1 deletion integration/microservices/e2e/orders-grpc.spec.ts
Expand Up @@ -115,7 +115,7 @@ describe('Advanced GRPC transport', () => {

// Get Set-Cookie from Metadata
callHandler.on('metadata', (metadata: GRPC.Metadata) => {
expect(metadata.get('Set-Cookie')[0]).to.eq('test_cookie=abcd')
expect(metadata.get('Set-Cookie')[0]).to.eq('test_cookie=abcd');
});

callHandler.on('data', (msg: number) => {
Expand Down
Expand Up @@ -85,7 +85,11 @@ export class AdvancedGrpcController {
* @param messages
*/
@GrpcStreamMethod('orders.OrderService')
async sync(messages: Observable<any>, metadata: Metadata, call: any): Promise<any> {
async sync(
messages: Observable<any>,
metadata: Metadata,
call: any,
): Promise<any> {
// Set Set-Cookie from Metadata
const srvMetadata = new Metadata();
srvMetadata.add('Set-Cookie', 'test_cookie=abcd');
Expand Down

0 comments on commit 511625c

Please sign in to comment.