Skip to content

Commit

Permalink
Fixed issues with unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Oct 25, 2024
1 parent 8ecc0aa commit 2eb19e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/recon/recon.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ describe("Recon Service tests", () => {
expect(title).toBe(test.expectedName);
expect(result.results?.[0].candidates.length).toBe(test.expectedCount);
if (test.duplicateCheck) {
expect(result.results[0]?.candidates?.[0].name === result.results[0]?.candidates?.[1].name).toBeFalsy();
expect(result.results[0]?.candidates?.[0]?.name === result.results[0]?.candidates?.[1]?.name).toBeFalsy();
}
if (test.expectedId) {
expect(id).toBe(test.expectedId);
Expand Down

0 comments on commit 2eb19e9

Please sign in to comment.