Skip to content

Commit bb2005b

Browse files
committed
Test files
1 parent fa15c2c commit bb2005b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎packages/email-service/test/email.e2e-spec.ts‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@ describe('Email Service Send Email Tests', () => {
421421
describe('Email Service Get Senders Tests', () => {
422422
let emailClient: any;
423423
beforeEach(async () => {
424-
const proto = ProtoLoader.loadSync([EmailProtoFile]) as any;
424+
const proto = ProtoLoader.loadSync([EmailProtoFile], {
425+
arrays: true,
426+
}) as any;
425427

426428
const protoGRPC = GRPC.loadPackageDefinition(proto) as any;
427429

@@ -483,7 +485,9 @@ describe('Email Service Get Senders Tests', () => {
483485
describe('Email Service Get Domains Tests', () => {
484486
let emailClient: any;
485487
beforeEach(async () => {
486-
const proto = ProtoLoader.loadSync([EmailProtoFile]) as any;
488+
const proto = ProtoLoader.loadSync([EmailProtoFile], {
489+
arrays: true,
490+
}) as any;
487491

488492
const protoGRPC = GRPC.loadPackageDefinition(proto) as any;
489493

0 commit comments

Comments
 (0)