Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
Discussed with @mansona to remove the strict equal in favour of checking that the property exists
  • Loading branch information
MinThaMie committed Jul 4, 2022
1 parent 306b580 commit c098508
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions test/lib/github-client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,16 +603,14 @@ describe('lib/github-client', function () {

assert.isDefined(client);

assert.strictEqual(
client.supportedOrganizations.length,
10,
'We will support 10 organizations when searching GitHub issues.'
assert.ok(
client.supportedOrganizations.length > 0,
'We support organizations when searching GitHub issues.'
);

assert.strictEqual(
client.supportedLabels.length,
7,
'We will support 7 labels when searching GitHub issues.'
assert.ok(
client.supportedLabels.length > 0,
'We support labels when searching GitHub issues.'
);
});
});
Expand Down

0 comments on commit c098508

Please sign in to comment.