Skip to content

Commit

Permalink
edit test
Browse files Browse the repository at this point in the history
relates #28
  • Loading branch information
rehabas committed Apr 4, 2020
1 parent dc46d97 commit 614be93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ describe('Get stats', () => {
.end((err, res) => {
if (err) return done(err);
const { data } = res.body;
expect(data[0].numOfCohorts).toBe(2);
expect(data[1].numOfProjects).toBe(7);
expect(data[2].numOfStudents).toBe(2);
expect(data.cohortsCount).toBe('2');
expect(data.projectsCount).toBe('7');
expect(data.studentsCount).toBe('2');
done();
});
});
Expand Down

0 comments on commit 614be93

Please sign in to comment.