From c3cf2e40490ed21677f905718e074b3d1eaf43dc Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 14 Jul 2022 12:19:39 -0400 Subject: [PATCH] Fix type error in server discovery test --- src/discovery/__tests__/recommended-server-discovery.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discovery/__tests__/recommended-server-discovery.test.ts b/src/discovery/__tests__/recommended-server-discovery.test.ts index b7f3864c4..b8917698f 100644 --- a/src/discovery/__tests__/recommended-server-discovery.test.ts +++ b/src/discovery/__tests__/recommended-server-discovery.test.ts @@ -67,7 +67,7 @@ describe('RecommendedServerDiscovery', () => { /* eslint-disable jest/no-standalone-expect */ // NOTE: This test will only work if API_VERSION and MINIMUM_VERSION are not the same! - itIf(API_VERSION !== MINIMUM_VERSION, 'should return an issue for outdated versions', async () => { + itIf(API_VERSION.toString() !== MINIMUM_VERSION.toString(), 'should return an issue for outdated versions', async () => { const serverDiscovery = new RecommendedServerDiscovery(SDK_INSTANCE); const systemInfo = { Version: MINIMUM_VERSION,