Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Oct 24, 2024
1 parent 9aca12d commit 690cc16
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ When('you confirm 2 active enrollments with errors', () => {

const enrollment2 = enrollments.find(e => e.enrollment === 'JAfTBlr2Cj2');
expect(enrollment2).to.include({ enrollment: 'JAfTBlr2Cj2', status: 'COMPLETED' });
expect(enrollment2.events).to.have.length(1);
expect(enrollment2.events[0]).to.include({ event: 'xiNGHVi6HVv', status: 'COMPLETED' });
expect(enrollment2.events).to.have.length(0);
});
});

Expand Down

0 comments on commit 690cc16

Please sign in to comment.