Skip to content

Commit

Permalink
Fix type error in server discovery test
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Jul 14, 2022
1 parent 5b508ab commit c3cf2e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3cf2e4

Please sign in to comment.