Skip to content

Commit

Permalink
Fix(Workflow tests failing): Add logs to find bug(new log)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur-Poffo committed Feb 12, 2024
1 parent d4a0438 commit b244d29
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ describe('Get course metrics use case', () => {
const enrollmentsOnLastYear = 80

const countEnrollmentsByYear = async (year: number): Promise<number> => {
console.log(`called with year: ${year}`)

if (year === currentYear) {
return 120
} else if (year === createdAt.getFullYear()) {
Expand Down

0 comments on commit b244d29

Please sign in to comment.