From 33073d0db2d05e79d26022f00def47f26335b131 Mon Sep 17 00:00:00 2001 From: hastom Date: Fri, 19 Jul 2024 13:24:07 +0300 Subject: [PATCH] Fix test case --- packages/grpc-js/test/test-retry.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/grpc-js/test/test-retry.ts b/packages/grpc-js/test/test-retry.ts index 627836819..26ad26c2a 100644 --- a/packages/grpc-js/test/test-retry.ts +++ b/packages/grpc-js/test/test-retry.ts @@ -333,6 +333,7 @@ describe('Retries', () => { metadata, (error: grpc.ServiceError, response: any) => { assert(error); + assert.strictEqual(error.code, 300); assert.strictEqual(error.details, 'Failed on retry 0'); done(); }